Documentation ¶
Index ¶
Constants ¶
View Source
const ( Eunknown int8 = iota Efatal Eerror Ewarning )
Error severity codes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorCode ¶
type ErrorCode uint32
ErrorCode represents the error code returned by the avatica server
type RPCMetadata ¶
type RPCMetadata struct {
ServerAddress string
}
RPCMetadata contains metadata about the call that caused the error.
type ResponseError ¶
type ResponseError struct { Exceptions []string HasExceptions bool ErrorMessage string Severity int8 ErrorCode ErrorCode SqlState SQLState Metadata *RPCMetadata Name string }
ResponseError is an error type that contains detailed information on what caused the server to return an error.
func (ResponseError) Error ¶
func (r ResponseError) Error() string
Click to show internal directories.
Click to hide internal directories.