berror

package
v0.1.40 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WrongData    = errors.New("WRONG_DATA")
	ServerError  = errors.New("SERVER_ERROR")
	InvalidQuery = errors.New("INVALID_QUERY")
)
View Source
var (
	DbNotConnected     = errors.New("NO_DB_CONNECTION")
	DbNotFound         = errors.New("not found")
	DbNotOwn           = errors.New("NOT_AUTHORIZED")
	DbCreateNotAllowed = errors.New("CREATE_NOT_ALLOWED")
	DbReadNotAllowed   = errors.New("READ_NOT_ALLOWED")
	DbUpdateNotAllowed = errors.New("UPDATE_NOT_ALLOWED")
	DbDeleteNotAllowed = errors.New("DELETE_NOT_ALLOWED")
	DbCantExec         = errors.New("CAN_NOT_EXEC")
	DbIndexExists      = errors.New("INDEX_EXISTS")
	DbObjDeleted       = errors.New("OBJECT_DELETED")
	DbNoIndexName      = errors.New("NO_INDEX_NAME")
	DbIndexNotFound    = errors.New("NO_INDEX_NAME")
)

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