Skip to the content.

Class: InvalidFieldValueError

Defined in: errors.ts:126

Error thrown when a field value is invalid

Extends

Constructors

Constructor

new InvalidFieldValueError(field, value, expectedFormat?): InvalidFieldValueError

Defined in: errors.ts:127

Parameters

field

string

value

unknown

expectedFormat?

string

Returns

InvalidFieldValueError

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