Interface: Options
PreconditionError.Options
The options for PreconditionError.
Since
1.0.0
Hierarchy
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:55
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:48
precondition
• precondition: Precondition
<PreconditionOptions
>
The precondition that caused the error.
Since
1.0.0