errors

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExist = errors.New("exist")

ErrExists is returned when the specified object is already exists.

View Source
var ErrInvalid = errors.New("invalid")

ErrInvalid is returned when the specified object is invalid.

View Source
var ErrNotEqual = errors.New("not equal")

ErrNotEqual is returned when the specified object is not equal.

View Source
var ErrNotExist = errors.New("not exist")

ErrNotExist is returned when the specified object is not exist.

View Source
var ErrNotFound = errors.New("not found")

ErrNotFound is returned when the specified object is not found.

View Source
var ErrNotImplemented = errors.New("not implemented")

ErrNotImplemented is returned when the operation is not implemented.

View Source
var ErrNotSupported = errors.New("not supported")

ErrNotSupported is returned when the operation is not supported.

Functions

func NewErrColumnNotExist

func NewErrColumnNotExist(v any) error

NewErrColumnNotExist returns a new column not exist error.

func NewErrColumnValueNotExist

func NewErrColumnValueNotExist(v any) error

NewErrColumnValueNotExist returns a new column value not exist error.

func NewErrColumnsNotEqual

func NewErrColumnsNotEqual(v1, v2 int) error

NewErrColumnsNotEqual returns a new columns not equal error.

func NewErrDatabaseExist

func NewErrDatabaseExist(v string) error

NewErrDatabaseExist returns a new database exist error.

func NewErrDatabaseNotExist

func NewErrDatabaseNotExist(v string) error

NewErrDatabaseNotExist returns a new database not exist error.

func NewErrExist

func NewErrExist(v any) error

NewErrExist returns a new exist error.

func NewErrGroupByColumnValueNotFound

func NewErrGroupByColumnValueNotFound(v any) error

NewErrGroupByColumnValueNotFound returns a new group by column not found error.

func NewErrInvalid

func NewErrInvalid(v any) error

NewErrInvalid returns a new invalid error.

func NewErrMultiplePreparedStatementNotSupported

func NewErrMultiplePreparedStatementNotSupported(query string) error

NewErrPreparedStatementMultiStatement returns a new prepared statement multi statement error.

func NewErrMultipleTableNotSupported

func NewErrMultipleTableNotSupported(query string) error

NewErrMultipleTableNotSupported returns a new prepared statement multi table error.

func NewErrNotEqual

func NewErrNotEqual(v1, v2 any) error

NewErrNotEqual returns a new not equal error.

func NewErrNotExist

func NewErrNotExist(v any) error

NewErrNotExist returns a new not exist error.

func NewErrNotImplemented

func NewErrNotImplemented(msg string) error

NewErrNotImplemented returns a new ErrNotImplemented error.

func NewErrNotSupported

func NewErrNotSupported(msg string) error

NewErrNotSupported returns a new ErrNotSupported error.

func NewErrPreparedPortalNotExist

func NewErrPreparedPortalNotExist(name string) error

NewErrPreparedPortalNotExist returns a new prepared portal not exist error.

func NewErrPreparedStatementNotExist

func NewErrPreparedStatementNotExist(name string) error

NewErrPreparedStatementNotExist returns a new prepared statement not exist error.

func NewErrTableExist

func NewErrTableExist(v string) error

NewErrTableExist returns a new table exist error.

func NewErrTableNotExist

func NewErrTableNotExist(v string) error

NewErrTableNotExist returns a new table not exist error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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