Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBadRequest ¶
IsBadRequest returns whether the error cause is that the provided inputs are incorrect
func IsNotAuthorized ¶
IsNotAuthorized returns whether the error cause is that there was an attempt to perform a not authorized action
func IsNotFound ¶
IsNotFound returns whether the error cause is that something was not found
Types ¶
type BadRequest ¶
type BadRequest interface {
IsBadRequest() bool
}
BadRequest is the interface that wraps the IsBadRequest method
type NotAuthorized ¶
type NotAuthorized interface {
IsNotAuthorized() bool
}
NotAuthorized is the interface that wraps the IsNotAuthorized nethod
Click to show internal directories.
Click to hide internal directories.