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