1 | import { BaseWrappedException } from './base_wrapped_exception';
|
2 | export { ExceptionHandler } from './exception_handler';
|
3 |
|
4 |
|
5 |
|
6 | export declare class BaseException extends Error {
|
7 | message: string;
|
8 | stack: any;
|
9 | constructor(message?: string);
|
10 | toString(): string;
|
11 | }
|
12 | /**
|
13 | * Wraps an exception and provides additional context or information.
|
14 | * @stable
|
15 | */
|
16 | export declare class WrappedException extends BaseWrappedException {
|
17 | private _wrapperMessage;
|
18 | private _originalException;
|
19 | private _originalStack;
|
20 | private _context;
|
21 | private _wrapperStack;
|
22 | constructor(_wrapperMessage: string, _originalException: any, _originalStack?: any, _context?: any);
|
23 | wrapperMessage: string;
|
24 | wrapperStack: any;
|
25 | originalException: any;
|
26 | originalStack: any;
|
27 | context: any;
|
28 | message: string;
|
29 | toString(): string;
|
30 | }
|
31 | export declare function makeTypeError(message?: string): Error;
|
32 | export declare function unimplemented(): any;
|