Documentation
¶
Index ¶
- func IsAlreadyExists(err error) bool
- func IsBadRequest(err error) bool
- func IsConflict(err error) bool
- func IsForbidden(err error) bool
- func IsGone(err error) bool
- func IsInvalid(err error) bool
- func IsNotFound(err error) bool
- func IsServerTimeout(err error) bool
- func IsServiceUnavailable(err error) bool
- func IsTimeout(err error) bool
- func IsUnauthorized(err error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
IsAlreadyExists checks if an error is an already exists error.
func IsBadRequest ¶
IsBadRequest checks if an error is a bad request error.
func IsConflict ¶
IsConflict checks if an error is a conflict error.
func IsForbidden ¶
IsForbidden checks if an error is a forbidden error.
func IsNotFound ¶
IsNotFound checks if an error is a not found error.
func IsServerTimeout ¶
IsServerTimeout checks if an error is a server timeout error.
func IsServiceUnavailable ¶
IsServiceUnavailable checks if an error is a service unavailable error.
func IsUnauthorized ¶
IsUnauthorized checks if an error is an unauthorized error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.