error

Helper functions to help with error handling.

Since: 3.0.0

error.handleError(err) ⇒ Array

Log error, report it and then exit the process with error code 1.

Kind: static method of error
Returns: Array - Returns the total.
Since: 3.0.0

Param Type Description
err Object The error

error.getStackTrace(err) ⇒ Object

Helper function to extract a stack trace from an error object.

Kind: static method of error
Returns: Object - The stack trace object.
Since: 3.0.0

Param Type Description
err Object The error object

results matching ""

    No results matching ""