# Functions
IsRuntimeStatusCode returns true when the error is of *runtime.APIError type and the error status code matches the one passed as the argument.
IsRuntimeStatusCodeHasString returns true when the error is *runtime.APIError and the error status code matches the one passed as the argument.
NewJSONError creates a marshaleable error from an error.
Unwrap Deprecated: unpacks an error message returned from a client API call.
Wrap creates a new Error from the passed error, it doesn't modify the original error, but instead, tries to unwrap and extract the wrapped errors form the go-openapi/runtime operations.
# Constants
ErrTimedOutMsg is returned when the error is context.DeadlineExceeded.
# Variables
ErrDeploymentID is the message returned when a provided cluster id is not of the expected length (32 chars).
ErrMissingAPI is thrown when the *api.API reference is null.
ErrMissingElevatedPermissions is returned when the error code is 449.