forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexceptions.d.ts
More file actions
28 lines (28 loc) · 966 Bytes
/
exceptions.d.ts
File metadata and controls
28 lines (28 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { BaseWrappedException } from './base_wrapped_exception';
export { ExceptionHandler } from './exception_handler';
export declare class BaseException extends Error {
message: string;
stack: any;
constructor(message?: string);
toString(): string;
}
/**
* Wraps an exception and provides additional context or information.
*/
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);
wrapperMessage: string;
wrapperStack: any;
originalException: any;
originalStack: any;
context: any;
message: string;
toString(): string;
}
export declare function makeTypeError(message?: string): Error;
export declare function unimplemented(): any;