ERLCAPIError

API reference for ERLCAPIError in @erlcjs/core.

Error thrown when the ER:LC API returns an error.

Signature:

declare class ERLCAPIError extends Error

Extends: Error

#Constructors

Constructor

Modifiers

Description

(constructor)(message, commandId)

Constructs a new instance of the ERLCAPIError class

#Properties

Property

Modifiers

Type

Description

commandId?

readonly

string | undefined

(Optional)