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