Skip to the content.

Class: DNSValidationError

Defined in: errors.ts:21

Base class for all DNS validation errors.

Extends

Extended by

Constructors

Constructor

new DNSValidationError(message, code, field?, value?): DNSValidationError

Defined in: errors.ts:26

Parameters

message

string

code

string

field?

string

value?

unknown

Returns

DNSValidationError

Overrides

Error.constructor

Properties

code

readonly code: string

Defined in: errors.ts:22


field

readonly field: string | undefined

Defined in: errors.ts:23


value

readonly value: unknown

Defined in: errors.ts:24