Documentation
¶
Index ¶
- func BadInput(details ...D) error
- func Conflict(details ...D) error
- func Forbidden(details ...D) error
- func FromHttpStatus(status int, details D) error
- func GetHttpStatusCode(err error) int
- func IsBadInput(err error) bool
- func IsConflict(err error) bool
- func IsForbidden(err error) bool
- func IsNotFound(err error) bool
- func IsNotSupported(err error) bool
- func IsServiceUnavailable(err error) bool
- func IsTimeout(err error) bool
- func IsUnauthorized(err error) bool
- func IsUnimplemented(err error) bool
- func New(details ...D) error
- func NotFound(details ...D) error
- func NotSupported(details ...D) error
- func ServiceUnavailable(details ...D) error
- func Timeout(details ...D) error
- func Unauthorized(details ...D) error
- func Unimplemented(details ...D) error
- func Write(w io.Writer, err error) (int, error)
- type D
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromHttpStatus ¶
func GetHttpStatusCode ¶
func IsBadInput ¶
func IsConflict ¶
func IsForbidden ¶
func IsNotFound ¶
func IsNotSupported ¶
func IsServiceUnavailable ¶
func IsUnauthorized ¶
func IsUnimplemented ¶
func NotSupported ¶
func ServiceUnavailable ¶
func Unauthorized ¶
func Unimplemented ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.