Skip to main content

Interface: Options

Defined in: projects/framework/src/lib/errors/PreconditionError.ts:27

The options for PreconditionError.

Since

1.0.0

Extends

Properties

context?

optional context: unknown

Defined in: projects/framework/src/lib/errors/UserError.ts:63

The extra context to provide more information about this error.

Since

1.0.0

Default

null

Inherited from

Omit.context


identifier?

optional identifier: string

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

The identifier.

Since

1.0.0

Default

precondition.name

message?

optional message: string

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

The message to be passed to the Error constructor.

Since

1.0.0

Inherited from

Omit.message


precondition

precondition: Precondition

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

The precondition that caused the error.

Since

1.0.0