errors.d.ts 670 Bytes

/**
 * @license
 * Copyright Google Inc. All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * Convenience to throw an Error with 'unimplemented' as the message.
 */
export declare function unimplemented(): any;
/**
 * @stable
 */
export declare class BaseError extends Error {
    constructor(message: string);
    message: string;
    name: string;
    stack: any;
    toString(): string;
}
/**
 * @stable
 */
export declare class WrappedError extends BaseError {
    originalError: any;
    constructor(message: string, error: any);
    stack: any;
}