errors

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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

ErrExist is returned when the specified object is exist.

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 NewErrGroupByColumnValueNotFound

func NewErrGroupByColumnValueNotFound(v any) error

NewErrGroupByColumnValueNotFound returns a new group by column not found 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 NewErrNotExis

func NewErrNotExis(name string) error

NewErrNotExis returns an error for a not exist.

func NewErrNotImplemented

func NewErrNotImplemented(s string) error

NewErrNotImplemented returns an error for a not implemented.

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.

func NewErrUnsupported added in v1.1.2

func NewErrUnsupported(name string) error

NewErrUnsupported returns an error for a not supported.

Types

This section is empty.

Jump to

Keyboard shortcuts

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