fix(ErrorHandler): make rethrowError internal so that the interface can be implemented (#11109)

This commit is contained in:
Victor Berchet 2016-08-26 14:43:42 -07:00 committed by GitHub
parent 7c07bfff97
commit 9ce8ef76bf
1 changed files with 6 additions and 1 deletions

View File

@ -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);