Skip to content

Instantly share code, notes, and snippets.

Last active Jan 25, 2019
What would you like to do?
Error handling - basic-error-handler
import { ErrorHandler } from '@angular/core';
export class GlobalErrorHandler implements ErrorHandler {
handleError(error) {
// your custom error handling logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment