I have running Angular 9 application and as per the correct implementation, if any unhandled exception occurs, I am routing to error page.
@Injectable()
export class CustomErrorHandler implements ErrorHandler {
handleError(errorObj) {
router.navigate(['/error'], { queryParams: { error: JSON.stringify(errorDetails) } })
}
}
I am using ErrorHandler class and want to display error page as overlay , where in error page will be displayed on top of the current page and in background the current page should still be shown.
