Documentation ¶
Index ¶
- func IsNotFound(err error) bool
- func New(err error) error
- func NewAlreadyExists(message string) error
- func NewBadRequest(message string) error
- func NewForbidden(message string) error
- func NewInternalError(message string) error
- func NewNotFound(message string) error
- func NewNotImplemented(message string) error
- func NewUnauthenticated(message string) error
- func NewUnauthorized(message string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
func New ¶
Wraps an error as an internal error. If the error is already an RPC error, returns that instead
func NewAlreadyExists ¶
func NewBadRequest ¶
func NewForbidden ¶
func NewInternalError ¶
func NewNotFound ¶
func NewNotImplemented ¶
func NewUnauthenticated ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.