Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("resource not found") ErrConflict = errors.New("datamodel conflict") ErrForbidden = errors.New("forbidden access") ErrNeedMore = errors.New("need more input") ErrBadRequest = errors.New("bad request") ErrPartialOk = errors.New("partial okay") ErrDuplicateEntry = errors.New("duplicate entry") ErrGone = errors.New("resource gone") ErrUnprocessableEntity = errors.New("unprocessable entity") ErrNotAllowed = errors.New("operation not allowed") ErrBusy = errors.New("resource is busy") )
Define the errors we want to use inside the business logic & domain.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.