• function
 

Format an error into a string. If e is an Error and has a stack property, it's returned. Otherwise, e is formatted using formatObject, with a warning added about e not being a proper Error.

Scheduler.formatError(e)

Format an error into a string. If e is an Error and has a stack property, it's returned. Otherwise, e is formatted using formatObject, with a warning added about e not being a proper Error.

Parameters

  1. e {*}

Returns

Help us improve StealJS by taking our community survey