Skip to main content

JavaScript SDK API Reference / Errors / InvalidDomainError

Class: InvalidDomainError

Defined in: error.ts:145

Base error for SDK failures, carrying a machine-readable ErrorType.

Extends​

Constructors​

Constructor​

new InvalidDomainError(message?): InvalidDomainError

Defined in: error.ts:146

Parameters​

message?​

string

Returns​

InvalidDomainError

Overrides​

SNSError.constructor

Properties​

type​

type: ErrorType

Defined in: error.ts:43

Machine-readable error category.

Inherited from​

SNSError.type