Extends
Constructors
Constructor
new ValidationError(Defined in: packages/modelence/src/error.ts:23message,code?):ValidationError
Parameters
Returns
ValidationError
Overrides
ModelenceError.constructor
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
new ValidationError(Defined in: packages/modelence/src/error.ts:23message,code?):ValidationError
| Parameter | Type |
|---|---|
message | string |
code? | string |
ValidationError
ModelenceError.constructor
| Property | Type | Default value | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|---|
code? | string | undefined | Optional machine-readable error code so clients can branch on the kind of error without string-matching message (which may be reworded or localized). | - | ModelenceError.code | packages/modelence/src/error.ts:7 |
status | number | 400 | - | ModelenceError.status | - | packages/modelence/src/error.ts:21 |