Skip to the content.

Class: MalformedRecordError

Defined in: errors.ts:165

Error thrown when a DNS record structure is malformed

Extends

Constructors

Constructor

new MalformedRecordError(message, field?, value?): MalformedRecordError

Defined in: errors.ts:166

Parameters

message

string

field?

string

value?

unknown

Returns

MalformedRecordError

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