fix(ErrorHandler): make rethrowError internal so that the interface can be implemented (#11109)
This commit is contained in:
parent
7c07bfff97
commit
9ce8ef76bf
@ -38,7 +38,12 @@ export class ErrorHandler {
|
|||||||
*/
|
*/
|
||||||
_console: Console = console;
|
_console: Console = console;
|
||||||
|
|
||||||
constructor(private rethrowError: boolean = true) {}
|
/**
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
rethrowError: boolean;
|
||||||
|
|
||||||
|
constructor(rethrowError: boolean = true) { this.rethrowError = rethrowError; }
|
||||||
|
|
||||||
handleError(error: any): void {
|
handleError(error: any): void {
|
||||||
var originalError = this._findOriginalError(error);
|
var originalError = this._findOriginalError(error);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user