Skip to content

Taxum / @taxum/core / extract / InvalidQueryDataError

Class: InvalidQueryDataError

Defined in: extract/query.ts:7

Error thrown when a schema validation fails.

Extends

Constructors

Constructor

new InvalidQueryDataError(issues): InvalidQueryDataError

Defined in: extract/query.ts:8

Parameters

issues

readonly Issue[]

Returns

InvalidQueryDataError

Overrides

ValidationError.constructor

Properties

issues

readonly issues: readonly Issue[]

Defined in: extract/error.ts:11

Inherited from

ValidationError.issues


message

readonly message: string

Defined in: util/client-error.ts:21

Inherited from

ValidationError.message


source

readonly source: ValidationErrorSource

Defined in: extract/error.ts:12

Inherited from

ValidationError.source


status

readonly status: StatusCode

Defined in: util/client-error.ts:20

Inherited from

ValidationError.status

Accessors

name

Get Signature

get name(): string

Defined in: util/client-error.ts:28

Returns

string

Inherited from

ValidationError.name

Methods

[TO_HTTP_RESPONSE]()

[TO_HTTP_RESPONSE](): HttpResponse

Defined in: util/client-error.ts:32

Returns

HttpResponse

Inherited from

ValidationError.[TO_HTTP_RESPONSE]