Project

General

Profile

1
/**
2
 * @license
3
 * Copyright Google Inc. All Rights Reserved.
4
 *
5
 * Use of this source code is governed by an MIT-style license that can be
6
 * found in the LICENSE file at https://angular.io/license
7
 */
8
import { DebugContext } from './view';
9
export declare const ERROR_TYPE = "ngType";
10
export declare const ERROR_COMPONENT_TYPE = "ngComponentType";
11
export declare const ERROR_DEBUG_CONTEXT = "ngDebugContext";
12
export declare const ERROR_ORIGINAL_ERROR = "ngOriginalError";
13
export declare const ERROR_LOGGER = "ngErrorLogger";
14
export declare function getType(error: Error): Function;
15
export declare function getDebugContext(error: Error): DebugContext;
16
export declare function getOriginalError(error: Error): Error;
17
export declare function getErrorLogger(error: Error): (console: Console, ...values: any[]) => void;
(12-12/22)