Documentation
¶
Index ¶
- func ErrBadRequest(detail string) viipertypes.APIError
- func ErrConflict(detail string) viipertypes.APIError
- func ErrInternal(detail string) viipertypes.APIError
- func ErrNotFound(detail string) viipertypes.APIError
- func ErrUnauthorized(detail string) viipertypes.APIError
- func WrapError(err error) viipertypes.APIError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrBadRequest ¶
func ErrBadRequest(detail string) viipertypes.APIError
func ErrConflict ¶
func ErrConflict(detail string) viipertypes.APIError
func ErrInternal ¶
func ErrInternal(detail string) viipertypes.APIError
func ErrNotFound ¶
func ErrNotFound(detail string) viipertypes.APIError
func ErrUnauthorized ¶
func ErrUnauthorized(detail string) viipertypes.APIError
func WrapError ¶
func WrapError(err error) viipertypes.APIError
WrapError normalizes any error into viipertypes.ApiError.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.