Interface: ValueErrorOptions
Defined in: src/errors.ts:117
Options for the deprecated ValueError.
Extends
Properties
cause?
ts
optional cause?: unknown;Defined in: src/errors.ts:55
The underlying error, when this error wraps another (ES2022 cause).
Inherited from
details?
ts
optional details?: Readonly<Record<string, unknown>>;Defined in: src/errors.ts:57
Structured context for programmatic handling, e.g. { index, count }.
Inherited from
code?
ts
optional code?: NeuroimErrorCode;Defined in: src/errors.ts:119
Specific code; defaults to INVALID_ARGUMENT.