Categorygithub.com/containerd/errdefs
modulepackage
1.0.0
Repository: https://github.com/containerd/errdefs.git
Documentation: pkg.go.dev

# README

errdefs

A Go package for defining and checking common containerd errors.

Project details

errdefs is a containerd sub-project, licensed under the Apache 2.0 license. As a containerd sub-project, you will find the:

information in our containerd/project repository.

# Functions

IsAborted returns true if an operation was aborted.
IsAlreadyExists returns true if the error is due to an already existing metadata item.
IsCanceled returns true if the error is due to `context.Canceled`.
IsConflict returns true if an operation could not proceed due to a conflict.
IsDataLoss returns true if data during an operation was lost or corrupted.
IsDeadlineExceeded returns true if the error is due to `context.DeadlineExceeded`.
IsFailedPrecondition returns true if an operation could not proceed due to the lack of a particular condition.
IsInternal returns true if the error returns to an internal or system error.
IsInvalidArgument returns true if the error is due to an invalid argument.
IsNotFound returns true if the error is due to a missing object.
IsNotImplemented returns true if the error is due to not being implemented.
IsNotModified returns true if an operation could not proceed due to an object not modified from a previous state.
IsOutOfRange returns true if an operation could not proceed due to data being out of the expected range.
IsPermissionDenied returns true if the error is due to permission denied or forbidden (403) response.
IsResourceExhausted returns true if the error is due to a lack of resources or too many attempts.
IsUnauthorized returns true if the error indicates that the user was unauthenticated or unauthorized.
IsUnavailable returns true if the error is due to a resource being unavailable.
IsUnknown returns true if the error is due to an unknown error, unhandled condition or unexpected response.
Resolve returns the first error found in the error chain which matches an error defined in this package or context error.

# Variables

Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.