Versions in this module Expand all Collapse all v0 v0.23.0 Mar 30, 2026 v0.22.0 Jan 13, 2026 Changes in this version + var ErrConstraint = errors.New("constraint violation") + var ErrDuplicateKey = errors.New("duplicate key") + var ErrMissingIdentity = errors.New("missing identity") + func Constraint(op, table string, cause error) error + func DuplicateKey(op, table string, cause error) error + func IsConstraint(err error) bool + func IsDuplicateKey(err error) bool + func IsMissingIdentity(err error) bool + func MissingIdentity(op, table string, columns []string, identityIndex int) error + type Error struct + Cause error + Columns []string + IdentityIndex int + Kind error + Op string + Table string + func (e *Error) Error() string + func (e *Error) Is(target error) bool + func (e *Error) Unwrap() error