From 9ce8ef76bf2ff3b94c95cac6065c67c297aa6c61 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Fri, 26 Aug 2016 14:43:42 -0700 Subject: [PATCH] fix(ErrorHandler): make rethrowError internal so that the interface can be implemented (#11109) --- modules/@angular/core/src/error_handler.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/@angular/core/src/error_handler.ts b/modules/@angular/core/src/error_handler.ts index 0d5ae4877b..e723065445 100644 --- a/modules/@angular/core/src/error_handler.ts +++ b/modules/@angular/core/src/error_handler.ts @@ -38,7 +38,12 @@ export class ErrorHandler { */ _console: Console = console; - constructor(private rethrowError: boolean = true) {} + /** + * @internal + */ + rethrowError: boolean; + + constructor(rethrowError: boolean = true) { this.rethrowError = rethrowError; } handleError(error: any): void { var originalError = this._findOriginalError(error);