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) AsyncNotSupportedError = ConstructNestedError("async queries are not supported by this client", nil) )
Functions ¶
func ConstructNestedError ¶
func NewStructuredError ¶
func NewStructuredError(errorDetails []types.ErrorDetails) error
Types ¶
type StructuredError ¶
type StructuredError struct {
Message string
}
func (StructuredError) Error ¶
func (e StructuredError) Error() string
Click to show internal directories.
Click to hide internal directories.