errors

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAlreadyExistsError added in v0.15.1

func IsAlreadyExistsError(err error) bool

func IsNotFoundError added in v0.15.1

func IsNotFoundError(err error) bool

func NewDocumentNotFoundError added in v0.15.1

func NewDocumentNotFoundError() error

func NewNotFoundError added in v0.15.1

func NewNotFoundError(name string) error

Types

type AlreadyExistsError added in v0.15.1

type AlreadyExistsError struct {
	Name string
}

AlreadyExistsError is returned when to create a table, an index or a sequence with a name that is already used by another resource.

func (AlreadyExistsError) Error added in v0.15.1

func (a AlreadyExistsError) Error() string

type NotFoundError added in v0.15.1

type NotFoundError struct {
	Name string
}

NotFoundError is returned when the requested table, index or sequence doesn't exist.

func (NotFoundError) Error added in v0.15.1

func (a NotFoundError) Error() string

Jump to

Keyboard shortcuts

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