API Reference > imodeljs-frontend > Tools > ToolAdmin > exceptionHandler exceptionHandler MethodStatic Beta A function that catches exceptions occurring inside ToolAdmin.eventLoop. exceptionHandler(exception: any): Promise<any> note If you wish to entirely replace this method, you can just assign to your own function, e.g.: ToolAdmin.exceptionHandler = (exception: any): Promise<any> => { ... your implementation here } Parameter Type Description exception any Returns - Promise<any> Defined in core/frontend/src/tools/ToolAdmin.ts Line 362 Last Updated: 13 June, 2024