-
new systemError( sysName, Code, target, Action )
-
Description
Describe a system error occurred during a requested Action (like subscribe, write, etc.).Parameters
Name Type Description sysNameSystem name for example an engine name CodeError 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 codestring Error code as defined in ErrorCodes messagestring The error message (this by default will auto build itself), but you can override it. systemNamestring System name targetNamestring Target of the Action that generated the error, for example the caller of a write method. actionstring Action Code as defined in "Actions", what was going to be performed. timestamp_msnumber Time the error occurred, by default is Date.Now() ackboolean If the error was acknowledged by user or not. Details