-
new systemError( sysName, Code, target, Action )
-
Description
Describe a system error occurred during a requested Action (like subscribe, write, etc.).Parameters
Name Type Description sysName
System name for example an engine name Code
Error code as in "ErrorCodes" target
(optional) name of who is in fault, like for example a variable name. Action
(optional) Action Code of what was going to be performed. Properties
Name Type Description code
string Error code as defined in ErrorCodes message
string The error message (this by default will auto build itself), but you can override it. systemName
string System name targetName
string Target of the Action that generated the error, for example the caller of a write method. action
string Action Code as defined in "Actions", what was going to be performed. timestamp_ms
number Time the error occurred, by default is Date.Now() ack
boolean If the error was acknowledged by user or not. Details