src/ui/error-handler/smart-error-handler.service.ts
Properties |
Methods |
|
constructor(smartWindowService: SmartWindowService, http: SmartHttpService, smartConfig: SmartConfig, injector: Injector, smartMessageService: SmartMessageService, overlayService: SmartOverlayService, logger: SmartLoggerService)
|
||||||||||||||||||||||||
|
Parameters :
|
| Public Async handleError | ||||||||
handleError(err: any)
|
||||||||
|
Handles an error by checking its type and delegating to the appropriate handler. If an error is currently being displayed, the new error is queued for later processing.
Parameters :
Returns :
Promise<WindowRef>
A promise that resolves to the error dialog window reference |
| errorHandled |
Type : EventEmitter<any>
|
Default value : new EventEmitter<any>()
|