exceptionHandler MethodStatic

A function that catches otherwise-uncaught exceptions occurring inside ToolAdmin.eventLoop. To customize the behavior of this function, modify ToolAdmin.exceptionOptions. To replace it within your own handler, simply assign to it, e.g.:

ToolAdmin.exceptionHandler = (exception: any): Promise<any> => {
 ... your implementation here
}

exceptionHandler(exception: any): Promise<any>

Parameter Type Description
exception any  

Returns - Promise<any>

Defined in

Last Updated: 12 June, 2024