Type Alias: ExceptionOptions
ts
type ExceptionOptions = ErrorOptions & {
code?: string;
fatal?: boolean;
status?: number;
};Options accepted by @nhtio/adk!BaseException (and factory-created exceptions) beyond the standard ErrorOptions.
Type Declaration
| Name | Type |
|---|---|
code? | string |
fatal? | boolean |
status? | number |
Remarks
These mirror the static defaults on @nhtio/adk!BaseException but allow per-throw overrides so a single exception class can carry different metadata at different throw sites.