UNPKG

@angular/router-deprecated

Version:
33 lines (32 loc) 1.02 kB
import { BaseWrappedException } from './base_wrapped_exception'; export { ExceptionHandler } from './exception_handler'; /** * @stable */ export declare class BaseException extends Error { message: string; stack: any; constructor(message?: string); toString(): string; } /** * Wraps an exception and provides additional context or information. * @stable */ export declare class WrappedException extends BaseWrappedException { private _wrapperMessage; private _originalException; private _originalStack; private _context; private _wrapperStack; constructor(_wrapperMessage: string, _originalException: any, _originalStack?: any, _context?: any); readonly wrapperMessage: string; readonly wrapperStack: any; readonly originalException: any; readonly originalStack: any; readonly context: any; readonly message: string; toString(): string; } export declare function makeTypeError(message?: string): Error; export declare function unimplemented(): any;