Skip to main content

Class: MoralisError

moralis-monorepo / @moralisweb3/common-core / MoralisError

Class: MoralisError

@moralisweb3/common-core.MoralisError

Hierarchy

Table of contents

Properties

Constructors

Properties

cause

Optional Readonly cause: Error | MoralisError

Overrides

Error.cause


code

Readonly code: MoralisErrorCode


details

Optional Readonly details: MoralisErrorDetails


isMoralisError

Readonly isMoralisError: true


name

Readonly name: string = 'Moralis SDK Error'

Overrides

Error.name

Constructors

constructor

new MoralisError(«destructured»)

Parameters

NameType
«destructured»MoralisErrorOptions<MoralisErrorCode>

Overrides

Error.constructor