Class: DewError

DewError(message, codeopt, methodopt)

new DewError(message, codeopt, methodopt)

Creates a new DewError object which represents an ElDewrito communication error.

Parameters:
Name Type Attributes Description
message string

The error message.

code DewErrorCode <optional>

The error code.

method string <optional>

The internal method name.

Source:

Members

code :DewErrorCode

The error code.

Type:
Source:

message :string

The error message.

Type:
  • string
Source:

method :string

The internal method name.

Type:
  • string
Source:

name :string

Type:
  • string
Source:

Methods

getCodeName() → {string}

Gets the name of the error's code.

Source:
Returns:

A string representing the error's code.

Type
string