err

package
v1.1.0-beta.0...-abef9b1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidType is returned when the type of a value is not expected.
	ErrInvalidType = dbterror.ClassServer.NewStd(errno.ErrInvalidType)
	// ErrInvalidSequence is returned when the sequence of method invocations is not correct.
	ErrInvalidSequence = dbterror.ClassServer.NewStd(errno.ErrInvalidSequence)
	// ErrNotAllowedCommand is returned when the used command is not in the expected list.
	ErrNotAllowedCommand = dbterror.ClassServer.NewStd(errno.ErrNotAllowedCommand)
	// ErrAccessDenied is returned when the user does not have sufficient privileges.
	ErrAccessDenied = dbterror.ClassServer.NewStd(errno.ErrAccessDenied)
	// ErrAccessDeniedNoPassword is returned when trying to use an anonymous user without password is not allowed.
	ErrAccessDeniedNoPassword = dbterror.ClassServer.NewStd(errno.ErrAccessDeniedNoPassword)
	// ErrConCount is returned when too many connections are established by the user.
	ErrConCount = dbterror.ClassServer.NewStd(errno.ErrConCount)
	// ErrSecureTransportRequired is returned when the user tries to connect without SSL.
	ErrSecureTransportRequired = dbterror.ClassServer.NewStd(errno.ErrSecureTransportRequired)
	// ErrMultiStatementDisabled is returned when the user tries to send multiple statements in one statement.
	ErrMultiStatementDisabled = dbterror.ClassServer.NewStd(errno.ErrMultiStatementDisabled)
	// ErrNewAbortingConnection is returned when the user tries to connect with an aborting connection.
	ErrNewAbortingConnection = dbterror.ClassServer.NewStd(errno.ErrNewAbortingConnection)
	// ErrNotSupportedAuthMode is returned when the user uses an unsupported authentication method.
	ErrNotSupportedAuthMode = dbterror.ClassServer.NewStd(errno.ErrNotSupportedAuthMode)
	// ErrNetPacketTooLarge is returned when the user sends a packet too large.
	ErrNetPacketTooLarge = dbterror.ClassServer.NewStd(errno.ErrNetPacketTooLarge)
	// ErrMustChangePassword is returned when the user must change the password.
	ErrMustChangePassword = dbterror.ClassServer.NewStd(errno.ErrMustChangePassword)
	// ErrServerShutdown is returned when the server is shutting down.
	ErrServerShutdown = dbterror.ClassServer.NewStd(errno.ErrServerShutdown)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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