Interface: ErrorOptions
Interface: ErrorOptions
Represents options for configuring an error.
Properties
cause?
optional cause: Error;
The original error that caused this error, useful for error chaining.
code?
optional code: string;
A specific error code for identifying the error.
metadata?
optional metadata: unknown;
Additional information or context about the error.