Documentation
¶
Overview ¶
Package errdefs contains the error definitions (i.e., domain types). It is created to prevent adaptor layers (e.g., HTTP handler) from directly depending on the errors received by infra layers (e.g., containerd's error).
Index ¶
- func IsConflict(err error) bool
- func IsForbiddenError(err error) bool
- func IsInvalidFormat(err error) bool
- func IsNotFound(err error) bool
- func IsNotModified(err error) bool
- func IsUnauthenticated(err error) bool
- func IsWrongSemantics(err error) bool
- func NewConflict(err error) error
- func NewForbidden(err error) error
- func NewInvalidFormat(err error) error
- func NewNotFound(err error) error
- func NewNotModified(err error) error
- func NewUnauthenticated(err error) error
- func NewWrongSemantics(err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConflict ¶
func IsForbiddenError ¶
func IsInvalidFormat ¶
func IsNotFound ¶
func IsNotModified ¶
func IsUnauthenticated ¶
func IsWrongSemantics ¶
func NewConflict ¶
func NewForbidden ¶
func NewInvalidFormat ¶
func NewNotFound ¶
func NewNotModified ¶
func NewUnauthenticated ¶
func NewWrongSemantics ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.