package
28.0.1+incompatible
Repository: https://github.com/dotcloud/docker.git
Documentation: pkg.go.dev
# Functions
Cancelled creates an [ErrCancelled] error from the given error.
Conflict creates an [ErrConflict] error from the given error.
DataLoss creates an [ErrDataLoss] error from the given error.
Deadline creates an [ErrDeadline] error from the given error.
Forbidden creates an [ErrForbidden] error from the given error.
FromContext returns the error class from the passed in context.
FromStatusCode creates an errdef error, based on the provided HTTP status-code.
InvalidParameter creates an [ErrInvalidParameter] error from the given error.
IsCancelled returns if the passed in error is an [ErrCancelled].
IsConflict returns if the passed in error is an [ErrConflict].
IsContext returns if the passed in error is due to context cancellation or deadline exceeded.
IsDataLoss returns if the passed in error is an [ErrDataLoss].
IsDeadline returns if the passed in error is an [ErrDeadline].
IsForbidden returns if the passed in error is an [ErrForbidden].
IsInvalidParameter returns if the passed in error is an [ErrInvalidParameter].
IsNotFound returns if the passed in error is an [ErrNotFound],.
IsNotImplemented returns if the passed in error is an [ErrNotImplemented].
IsNotModified returns if the passed in error is an [ErrNotModified].
IsSystem returns if the passed in error is an [ErrSystem].
IsUnauthorized returns if the passed in error is an [ErrUnauthorized].
IsUnavailable returns if the passed in error is an [ErrUnavailable].
IsUnknown returns if the passed in error is an [ErrUnknown].
NotFound creates an [ErrNotFound] error from the given error.
NotImplemented creates an [ErrNotImplemented] error from the given error.
NotModified creates an [ErrNotModified] error from the given error.
System creates an [ErrSystem] error from the given error.
Unauthorized creates an [ErrUnauthorized] error from the given error.
Unavailable creates an [ErrUnavailable] error from the given error.
Unknown creates an [ErrUnknown] error from the given error.
# Interfaces
ErrCancelled signals that the action was cancelled.
ErrConflict signals that some internal state conflicts with the requested action and can't be performed.
ErrDataLoss indicates that data was lost or there is data corruption.
ErrDeadline signals that the deadline was reached before the action completed.
ErrForbidden signals that the requested action cannot be performed under any circumstances.
ErrInvalidParameter signals that the user input is invalid.
ErrNotFound signals that the requested object doesn't exist.
ErrNotImplemented signals that the requested action/feature is not implemented on the system as configured.
ErrNotModified signals that an action can't be performed because it's already in the desired state.
ErrSystem signals that some internal error occurred.
ErrUnauthorized is used to signify that the user is not authorized to perform a specific action.
ErrUnavailable signals that the requested action/subsystem is not available.
ErrUnknown signals that the kind of error that occurred is not known.