package
2.6.1+incompatible
Repository: https://github.com/storageos/go-api.git
Documentation: pkg.go.dev

# Functions

MapAPIError will given err and its corresponding resp attempt to map the HTTP error to an application level error.
NewAuthenticationError returns a new AuthenticationError using msg as an optional error message if given.
No description provided by the author
No description provided by the author
NewEncodingError wraps err as an encoding error for value into targetType.
NewInvalidStateTransitionError returns a new InvalidStateTransitionError using msg as an optional error message if given.
NewLicenceCapabilityError returns a new LicenceCapabilityError using msg as an optional error message if given.
NewLockedError returns a new LockedError using msg as an optional error message if given.
No description provided by the author
NewServerError returns a new ServerError using msg as an optional error message if given.
NewStaleWriteError returns a new StaleWriteError using msg as an optional error message if given.
NewStoreError returns a new StoreError using msg as an optional error message if given.
NewUnauthorisedError returns a new UnauthorisedError using msg as an optional error message if given.

# Structs

AuthenticationError indicates that the requested operation could not be performed for the client due to an issue with the authentication credentials provided by the client.
EncodingError provides a unified error type which transport encoding implementations return when given a value that cannot be encoded with the target encoding.
InvalidStateTransitionError indicates that the requested operation cannot be performed for the target resource in its current state.
LicenceCapabilityError indicates that the requested operation cannot be carried out due to a licensing issue with the cluster.
LockedError indicates that the requested operation cannot be performed because a lock is held for the target resource.
ServerError indicates that an unrecoverable error occurred while attempting to perform the requested operation.
StaleWriteError indicates that the target resource for the requested operation has been concurrently updated, invalidating the request.
StoreError indicates that the requested operation could not be performed due to a store outage.
UnauthorisedError indicates that the requested operation is disallowed for the user which the client is authenticated as.