Skip to main content

Interface: Options

PreconditionError.Options

The options for PreconditionError.

since 1.0.0

Hierarchy

  • Omit<Options, "identifier">

    Options

Properties

context

Optional context: unknown

The extra context to provide more information about this error.

since 1.0.0

default null

Inherited from

Omit.context

Defined in

projects/framework/src/lib/errors/UserError.ts:56


identifier

Optional identifier: string

The identifier.

since 1.0.0

default precondition.name

Defined in

projects/framework/src/lib/errors/PreconditionError.ts:39


message

Optional message: string

The message to be passed to the Error constructor.

since 1.0.0

Inherited from

Omit.message

Defined in

projects/framework/src/lib/errors/UserError.ts:49


precondition

precondition: Precondition<PreconditionOptions>

The precondition that caused the error.

since 1.0.0

Defined in

projects/framework/src/lib/errors/PreconditionError.ts:32