errors

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCreateDBStatementNotSupported = errors.New("SQL statement not supported. Please use `CreateDatabase` operation instead")
View Source
var ErrDBNotExists = errors.New("selected db doesn't exists")
View Source
var ErrDBNotprovided = errors.New("database name not provided")
View Source
var ErrExpectedQueryMessage = errors.New("expected query message")
View Source
var ErrMalformedMessage = errors.New("malformed message detected")
View Source
var ErrMaxParamsNumberExceeded = errors.New("number of parameters exceeded the maximum limit")
View Source
var ErrMaxStmtNumberExceeded = errors.New("maximum number of statements in a single query exceeded")
View Source
var ErrMessageCannotBeHandledInternally = errors.New("message cannot be handled internally")
View Source
var ErrMessageTooLarge = errors.New("payload message hit  allowed memory boundaries")
View Source
var ErrNegativeParameterValueLen = errors.New("negative parameter length detected")
View Source
var ErrNoStatementFound = errors.New("no statement found")
View Source
var ErrParametersValueSizeTooLarge = errors.New("provided parameters exceeded the maximum allowed size limit")
View Source
var ErrPwNotprovided = errors.New("password not provided")
View Source
var ErrSSLNotSupported = errors.New("SSL not supported")
View Source
var ErrUnknowMessageType = errors.New("found an unknown message type on the wire")
View Source
var ErrUseDBStatementNotSupported = errors.New("SQL statement not supported. Please use `UseDatabase` operation instead")
View Source
var ErrUsernameNotFound = errors.New("user not found")
View Source
var ErrUsernameNotprovided = errors.New("user name not provided")

Functions

func MapPgError

func MapPgError(err error) (er bm.ErrorResp)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL