ErrorCategory ErrorCategory ErrorCategory Enum

Definition

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

public enum ErrorCategory
type ErrorCategory = 
Public Enum ErrorCategory
Inheritance
ErrorCategoryErrorCategoryErrorCategory

Fields

AuthenticationError AuthenticationError 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 CloseError CloseError
ConnectionError ConnectionError ConnectionError

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

DeadlockDetected DeadlockDetected DeadlockDetected
DeviceError DeviceError DeviceError
FromStdErr FromStdErr FromStdErr

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

InvalidArgument InvalidArgument InvalidArgument
InvalidData InvalidData InvalidData
InvalidOperation InvalidOperation InvalidOperation
InvalidResult InvalidResult InvalidResult
InvalidType InvalidType InvalidType
LimitsExceeded LimitsExceeded LimitsExceeded

Internal limits prevent the operation from being executed.

MetadataError MetadataError MetadataError
NotEnabled NotEnabled NotEnabled

The operation attempted to use functionality that is currently disabled.

NotImplemented NotImplemented NotImplemented
NotInstalled NotInstalled NotInstalled
NotSpecified NotSpecified NotSpecified

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

ObjectNotFound ObjectNotFound ObjectNotFound

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

OpenError OpenError OpenError
OperationStopped OperationStopped OperationStopped
OperationTimeout OperationTimeout OperationTimeout
ParserError ParserError ParserError
PermissionDenied PermissionDenied PermissionDenied

Operation not permitted

ProtocolError ProtocolError ProtocolError

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

QuotaExceeded QuotaExceeded QuotaExceeded

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

ReadError ReadError ReadError
ResourceBusy ResourceBusy ResourceBusy
ResourceExists ResourceExists ResourceExists
ResourceUnavailable ResourceUnavailable ResourceUnavailable
SecurityError SecurityError SecurityError

Used for security exceptions

SyntaxError SyntaxError SyntaxError
WriteError WriteError WriteError

Remarks

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