UNPKG

815 BTypeScriptView Raw
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 */
8import { DebugContext } from './view';
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;