Documentation ¶
Index ¶
- type RestErr
- func NewBadRequestError(message string) RestErr
- func NewInternalServerError(message string, err error) RestErr
- func NewNotFoundError(message string) RestErr
- func NewRestError(message string, status int, err string, causes []interface{}) RestErr
- func NewRestErrorFromBytes(bytes []byte) (RestErr, error)
- func NewUnauthorizedError(message string) RestErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestErr ¶
func NewBadRequestError ¶
func NewInternalServerError ¶
func NewNotFoundError ¶
func NewRestError ¶
func NewRestErrorFromBytes ¶
func NewUnauthorizedError ¶
Click to show internal directories.
Click to hide internal directories.