errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlreadyInTX = pkgErrors.New("cannot begin a transaction within a transaction")

AlreadyInTX is encountered when one attempts to start a transaction within a transaction, recursive transactions are not supported at this time.

View Source
var ErrNoRows = pkgErrors.New("no rows in result set")

ErrNoRows should be returned when a query that is supposed to yield results does not.

View Source
var NoDB = pkgErrors.New("neither transaction or database connection exists")

NoDB is encountered when an operation is preformed without a valid transaction or connection to the DB

View Source
var NoTX = pkgErrors.New("transaction does not exist")

NoTX is encountered when an operation is done that assumes a transaction exists, but isn't present

View Source
var NotImplemented = pkgErrors.New("not implemented for this driver")

NotImplemented is returned when a feature not on a driver is invoked

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