CommunicatorError
- class CommunicatorError()
Base error class for all Communicator errors. Extends base Error class as documented [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error).
- Preferred
Constructors
Properties
Methods
Constructors
- CommunicatorError.constructor(message)
- Arguments
message (
string()
) – None
Creates a new CommunicatorError
- Return type
CommunicatorError
Properties
- CommunicatorError.message
- Type
string
- CommunicatorError.name
- Type
string
- CommunicatorError.stack
- Type
string optional
- CommunicatorError.prepareStackTrace
- Type
function optional
Optional override for formatting stack traces
- CommunicatorError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()
) – NonestackTraces (
[CallSite]()
) – None
- Return type
any
- CommunicatorError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- CommunicatorError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()
) – NoneconstructorOpt (
Function()
) – optional None
Create .stack property on a target object
- Return type
void