Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthenticationError = ConstructNestedError("authentication error", nil) AuthorizationError = ConstructNestedError("authorization error", nil) QueryExecutionError = ConstructNestedError("query execution error", nil) QueryParsingError = ConstructNestedError("query parsing error", nil) DSNParseError = ConstructNestedError("error parsing DSN", nil) InvalidAccountError = ConstructNestedError(accountErrorMsg, nil) )
Functions ¶
func ConstructNestedError ¶
Types ¶
type StructuredError ¶
type StructuredError struct {
Message string
}
func NewStructuredError ¶
func NewStructuredError(errorDetails []types.ErrorDetails) *StructuredError
func (StructuredError) Error ¶
func (e StructuredError) Error() string
Click to show internal directories.
Click to hide internal directories.