Interface: Options<T>
Defined in: projects/framework/src/lib/errors/ArgumentError.ts:30
The options for ArgumentError.
Since
1.0.0
Extends
Type Parameters
Type Parameter |
---|
T |
Properties
argument
argument:
IArgument
<T
>
Defined in: projects/framework/src/lib/errors/ArgumentError.ts:35
The argument that caused the error.
Since
1.0.0
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/ArgumentError.ts:48
The identifier.
Since
1.0.0
Default
argument.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
parameter
parameter:
string
Defined in: projects/framework/src/lib/errors/ArgumentError.ts:41
The parameter that failed to be parsed.
Since
1.0.0