Class: FerretError

FerretError

Creates a new FireFerret Error

new FerretError(name, msg, scope, error){FireFerretError}

error.js, line 13
Name Type Default Description
name name 'FireFerretError' optional

The error name

msg msg '' optional

The error message.

scope scope '' optional

The scope where the error was thrown.

error error null optional

The original error message, invalid options, or invalid argument list.

Returns:
Type Description
FireFerretError

Methods

toString(){string}

error.js, line 27

Error to string.

Returns:
Type Description
string
  • The FireFerretError as a string.