From d283aa005757d237f01ec60f4091a7170420d07a Mon Sep 17 00:00:00 2001 From: mhartington Date: Wed, 16 Nov 2016 08:33:20 -0800 Subject: [PATCH] docs(errorHandler): add docs --- src/util/ionic-error-handler.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/util/ionic-error-handler.ts b/src/util/ionic-error-handler.ts index fb67f12b2c..c7abb85452 100644 --- a/src/util/ionic-error-handler.ts +++ b/src/util/ionic-error-handler.ts @@ -1,10 +1,10 @@ import { ErrorHandler } from '@angular/core'; /** + * @name IonicErrorHandler + * @description * The `IonicErrorHandler` intercepts the default `Console` error handling * and displays runtime errors as an overlay when using Ionic's Dev Build Server. - * We can often add some nice goodies to the dev/debugging process by reporting - * to our dev server and improving the error's readability. * * * ### IonicErrorHandler Example @@ -44,6 +44,9 @@ export class IonicErrorHandler extends ErrorHandler { constructor() { super(false); } + /** + * @internal + */ handleError(err: any): void { super.handleError(err); try {