# Functions
CombineError is a simplication of errored.Combine.
EtcdToErrored converts etcd errors to errored errors.
# Variables
CannotCopyVolume is used when snapshot copy -> volume operations fail.
ClearVolume is used when just removing the volume information from etcd.
ConfiguringVolume is used when configuring the volume structs.
CreateVolume is used when creating volumes.
ErrDevNotFound is for reporting device not found error while scanning /proc/devices.
ErrJSONValidation is used when JSON validation fails.
ErrPublish is an error for when use locks cannot be published.
ErrRemove is an error for when use locks cannot be removed.
ErrMountScan is for when mount scanning fails.
Exists is used to exit in situations where duplicated data would be written.
FormatVolume is used when formatting volumes.
GetDriver is used when constructing drivers.
GetGlobal is used when retriving globals.
GetHostname is used when retreiving the hostname.
GetMount is used when retrieving mounts.
GetPolicy is used when retrieving policies.
ListPolicyRevision is used when getting a single policy revision.
GetVolume is used when retrieving volumes.
InvalidDBPath is used whenever pathing with the DB fails.
InvalidVolume is used both when retrieving volumes and validating the names of volumes.
InvalidVolume is used both when retrieving volumes and validating the names of volumes.
ListPolicy is used when listing policies.
ListPolicyRevision is used when listing policy revisions.
ListSnapshots is used when listing snapshots.
ListVolume is used when listing volumes.
LockFailed is for when locks fails to acquire.
LockMismatch is when our compare/swap operations fail.
MarshalGlobal is used when failing to build global configuration.
MarshalPolicy is used when marshalling policies.
MarshalResponse is used when a response failed to encode.
MarshalVolume is used when marshalling volumes.
MissingSnapshotOption is used when the snapshot option is missing for volume copies.
MissingTargetOption is used when the target option is missing for volume copies.
MountFailed is used when mounts fail.
MountPath is used when configuring the mount path.
MountSourceRequired is used when a mount source does not exist, but is required.
NoActionTaken signifies that the requested operation was ignored.
NotExists is used to exit in situations where no data would be read.
PublishGlobal is used when failing to publish global configuration.
PublishMount is used when publishing mounts.
PublishPolicy is used when publishing policies.
PublishRuntime is used when publishing runtime parameters.
PublishVolume is used when publishing volumes.
RateLimit is used when applying rate limiting.
ReadBody is used when reading the request body.
RefreshMount is used for the TTL refresher errors.
RemoveImage is used when removing the underlying ceph RBD image.
RemoveMount is used when removing a mount.
RemoveVolume is used when removing volumes.
SnapshotCopy is used when copying snapshots to volumes fail.
SnapshotFailed is used when failing to take a snapshot.
SnapshotProtect is used when protecting snapshots for a copy fail.
SnapshotsUnsupported is used when the backend does not support snapshots.
Unknown is for those times when we just.
UnmarshalGlobal is used when failing to unpack global configuration.
UnmarshalPolicy is used when unmarshalling policies.
UnmarshalRequest is used when a request failed to decode.
UnmarshalRuntime is used when unmarshalling runtime parameters.
UnmarshalVolume is used when unmarshalling volumes.
UnmountFailed is used when unmounts fail.
VolmasterDown signifies that the apiserver could not be reached.
VolmasterRequest is used when a request fails.