Integration Server 10.3 | Built-In Services Reference Guide | StartEvent Folder | Summary of Elements in this Folder | pub.event:error
 
pub.event:error
WmPublic. Specification for error event handlers.
Input Parameters
stackTrace
String Stack trace for the error.
errorMessage
String The error message, if any, generated by the error that causes the error event.
serviceName
String Fully qualified name of the service in which the error occurred.
Output Parameters
None.
Usage Notes
Remember to register your even handler using Event Manager or pub.event:addSubscriber.
The watt.server.event.exception.async server parameter indicates whether event handlers for error events are invoked synchronously or asynchronously. When this parameter is set to true, Integration Server invokes the event handlers that subscribe to error events asynchronously. When this parameter is set to false, Integration Server invokes the services that subscribe to the error events synchronously. The default is true (asynchronous).
An error event handler can have a filter for the contents of errorMessage. The following filter specifies that any error event with an errorMessage whose value contains the word "missing" will invoke the event handler: *missing*