ErrorCategory Enum

Definition

Errors reported by Monad will be in one of these categories.

public enum ErrorCategory
Inheritance
ErrorCategory

Fields

AuthenticationError

Could not authenticate the user to the service. Could mean that the credentials are invalid or the authentication system is not functioning properly.

CloseError
ConnectionError

The operation depends on a network connection that cannot be established or maintained.

DeadlockDetected
DeviceError
FromStdErr

A non-Monad command reported an error to its STDERR pipe.

InvalidArgument
InvalidData
InvalidOperation
InvalidResult
InvalidType
LimitsExceeded

Internal limits prevent the operation from being executed.

MetadataError
NotEnabled

The operation attempted to use functionality that is currently disabled.

NotImplemented
NotInstalled
NotSpecified

No error category is specified, or the error category is invalid.

ObjectNotFound

Object can not be found (file, directory, computer, system resource, etc.)

OpenError
OperationStopped
OperationTimeout
ParserError
PermissionDenied

Operation not permitted

ProtocolError

The contract of a protocol is not being followed. Should not happen with well-behaved components.

QuotaExceeded

Controls on the use of traffic or resources prevent the operation from being executed.

ReadError
ResourceBusy
ResourceExists
ResourceUnavailable
SecurityError

Used for security exceptions

SyntaxError
WriteError

Remarks

Do not specify ErrorCategory.NotSpecified when creating an ErrorRecord. Choose the best match from among the other values.