Error

Custom error types.

See the verror docs for constructor parameters.

CashShuffleError

class CashShuffleError()

Base class for cashshuffle errors.

You can detect all cashshuffle errors with e instanceof CashShuffleError.

CashShuffleError.name

type: string

Error type name.

BusyError

class BusyError()

Busy error.

Thrown when an operation requires a resource that is busy.

BusyError.name

type: string

Error type name.

EmptyError

class EmptyError()

Empty error.

Thrown when an operation requiring a nonempty resource finds it empty.

EmptyError.name

type: string

Error type name.

ExhaustionError

class ExhaustionError()

Exhaustion error.

Thrown when an operation exhausts a specified limit without success.

ExhaustionError.name

type: string

Error type name.

FormatError

class FormatError()

Format error.

Thrown when a data item does not conform to an expected format.

FormatError.name

type: string

Error type name.

InadequateError

class InadequateError()

Inadequate error.

Thrown when an inadequate amount of a required resource is available.

InadequateError.name

type: string

Error type name.

MissingFeatureError

class MissingFeatureError()

Missing feature error.

Thrown when an operation requires a feature that is not available.

MissingFeatureError.name

type: string

Error type name.

MissingValueError

class MissingValueError()

Required value missing error.

Thrown when an operation requires a value that is not available.

MissingValueError.name

type: string

Error type name.

NotImplementedError

class NotImplementedError()

Functionality not implemented error.

Thrown by methods in interface definitions to indicate functionality that needs an implementation in subclasses.

NotImplementedError.name

type: string

Error type name.

TimeoutError

class TimeoutError()

Timeout error.

Thrown when an operation takes longer than the maximum allowed time.

TimeoutError.name

type: string

Error type name.

ValueError

class ValueError()

Value error.

Thrown when an operation receives or encounters a bad value.

ValueError.name

type: string

Error type name.