Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDuplicate = status.New(codes.AlreadyExists, "Element already exists").Err()
ErrDuplicate is used when a record already exists.
View Source
var ErrNotFound = status.New(codes.NotFound, "Requested element not found").Err()
The entry to delete/read/update could not be found
Functions ¶
func ErrConstraintViolation ¶
func ErrConstraintViolation() *fieldError
func NewFieldError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.