Skip to the content.

Class: InvalidQueryStructureError

Defined in: errors.ts:140

Error thrown when DNS query structure is invalid

Extends

Constructors

Constructor

new InvalidQueryStructureError(message, field?): InvalidQueryStructureError

Defined in: errors.ts:141

Parameters

message

string

field?

string

Returns

InvalidQueryStructureError

Overrides

DNSValidationError.constructor

Properties

code

readonly code: string

Defined in: errors.ts:22

Inherited from

DNSValidationError.code


field

readonly field: string | undefined

Defined in: errors.ts:23

Inherited from

DNSValidationError.field


value

readonly value: unknown

Defined in: errors.ts:24

Inherited from

DNSValidationError.value