Skip to the content.

Class: InvalidRecordTypeError

Defined in: errors.ts:150

Error thrown when a DNS record type is invalid or unsupported

Extends

Constructors

Constructor

new InvalidRecordTypeError(recordType): InvalidRecordTypeError

Defined in: errors.ts:151

Parameters

recordType

unknown

Returns

InvalidRecordTypeError

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