Fork me on GitHub

Now on: joopl.Exception

Constructor

joopl.Exception

(
  • message
  • innerException
)

Defined in src\joopl.js:1448

Parameters:

  • message String

    A human-readable reason text for the whole exception

  • innerException Exception

    An inner exception that is more specific to occured error

Example:

throw new $global.joopl.Exception({ message: "Some", innerException: otherException });

Methods

toString

() String

Defined in src\joopl.js:1542

Returns the exception message plus the stack trace as a concatenated string

Returns:

String:

The exception message plus the stack trace as a concatenated string

Properties

error

Error

Defined in src\joopl.js:1531

Gets underlying Error instance

innerException

Exception

Defined in src\joopl.js:1509

Gets an inner exception (optional) which provides information about the sorrounding one

message

String

Defined in src\joopl.js:1498

Gets the human-readable reason text for this exception

stackTrace

Array

Defined in src\joopl.js:1520

Gets the exception's stack trace as an array where each index is a code line