BaseErrorOptionsinterface
{
[key: string]: unknown;
caller?: AnyCaller | undefined;
}| Property | Type | |
|---|---|---|
.caller | AnyCaller | Modify the stack to trim off lines after a certain calling function. |
Options for BaseError that provide additional helpful error functionality.
- Extends the built-in
ErrorOptions(socauseis supported) and adds acallerplus arbitrary contextual fields.