refactor(core): remove deprecated parameter for `ErrorHandler` (#18759)
BREAKING CHANGE: `ErrorHandler` no longer takes a parameter as it was not used and deprecated since v4. PR Close #18759
This commit is contained in:
parent
2a62d9f056
commit
8f413268cf
|
@ -42,13 +42,6 @@ export class ErrorHandler {
|
|||
*/
|
||||
_console: Console = console;
|
||||
|
||||
constructor(
|
||||
/**
|
||||
* @deprecated since v4.0 parameter no longer has an effect, as ErrorHandler will never
|
||||
* rethrow.
|
||||
*/
|
||||
deprecatedParameter?: boolean) {}
|
||||
|
||||
handleError(error: any): void {
|
||||
const originalError = this._findOriginalError(error);
|
||||
const context = this._findContext(error);
|
||||
|
|
|
@ -381,8 +381,6 @@ export declare function enableProdMode(): void;
|
|||
|
||||
/** @stable */
|
||||
export declare class ErrorHandler {
|
||||
constructor(
|
||||
deprecatedParameter?: boolean);
|
||||
handleError(error: any): void;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue