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