dbr/errors.go

15 lines
491 B
Go
Raw Permalink Normal View History

2022-10-26 13:53:06 +03:00
package dbr
import (
"errors"
)
var (
ErrNotFound = errors.New("not found")
ErrNotUTF8 = errors.New("invalid UTF-8")
ErrInvalidSliceLength = errors.New("length of slice is 0. length must be >= 1")
ErrInvalidSliceValue = errors.New("trying to interpolate invalid slice value into query")
ErrInvalidValue = errors.New("trying to interpolate invalid value into query")
ErrArgumentMismatch = errors.New("mismatch between ? (placeholders) and arguments")
)