Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAlreadyExists = errdefs.ErrAlreadyExists ErrNotFound = errdefs.ErrNotFound ErrInvalidArgument = errors.New("invalid argument") ErrNotImplemented = errors.New("not implemented") // represents not supported and unimplemented ErrDeviceBusy = errors.New("device busy") // represents not supported and unimplemented )
Functions ¶
func IsAlreadyExists ¶
IsAlreadyExists returns true if the error is due to already exists
func IsConnectionClosed ¶
IsConnectionClosed returns true if error is due to connection closed this is used when snapshotter closed by sig term
func IsErofsMounted ¶ added in v0.3.0
func IsNotFound ¶ added in v0.3.0
IsNotFound returns true if the error is due to a missing object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.