Taxum / @taxum/core / extract / ValidationError
Class: ValidationError
Defined in: extract/error.ts:10
Error thrown when a schema validation fails.
Extends
Extended by
Constructors
Constructor
new ValidationError(
status
,message
,issues
,source
):ValidationError
Defined in: extract/error.ts:14
Parameters
status
message
string
issues
readonly Issue
[]
source
Returns
ValidationError
Overrides
Properties
issues
readonly
issues: readonlyIssue
[]
Defined in: extract/error.ts:11
message
readonly
message:string
Defined in: util/client-error.ts:21
Inherited from
source
readonly
source:ValidationErrorSource
Defined in: extract/error.ts:12
status
readonly
status:StatusCode
Defined in: util/client-error.ts:20
Inherited from
Accessors
name
Get Signature
get name():
string
Defined in: util/client-error.ts:28
Returns
string
Inherited from
Methods
[TO_HTTP_RESPONSE]()
[TO_HTTP_RESPONSE]():
HttpResponse
Defined in: util/client-error.ts:32