Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrForbiddenAccess = errors.New("forbidden access") )
View Source
var ( ErrorGeneral = New("internal server error", http.StatusInternalServerError) ErrorBadRequest = New("bad request", http.StatusBadRequest) ErrorNotFound = New(ErrNotFound.Error(), http.StatusNotFound) ErrorForbiddenAccess = New(ErrForbiddenAccess.Error(), http.StatusForbidden) )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.