Type Alias: ExceptionOptions
ts
type ExceptionOptions = ErrorOptions & {
code?: string;
fatal?: boolean;
status?: number;
};Defined in: lib/utils/exceptions.ts:14
Options accepted by @nhtio/adk!BaseException (and factory-created exceptions) beyond the standard ErrorOptions.
Type Declaration
| Name | Type | Defined in |
|---|---|---|
code? | string | lib/utils/exceptions.ts:15 |
fatal? | boolean | lib/utils/exceptions.ts:17 |
status? | number | lib/utils/exceptions.ts:16 |
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.