Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interpreter ¶
Interpreter generates standard errors using two components: - an Analyzer, which is specific to a given DB (postgres, mysql, ...) - an ErrFactory, which generates a standard error from the ErrType output by the Analyzer
func (Interpreter) Interpret ¶
func (i Interpreter) Interpret(err error) error
Interpret converts an error from a specific db library into a different error type
Click to show internal directories.
Click to hide internal directories.