ajsfw
Version:
Ajs Framework
18 lines (17 loc) • 746 B
TypeScript
import { IStackInfo } from "./IStackInfo";
export declare class Exception {
protected _parentException: Exception;
readonly parentException: Exception;
protected _name: string;
readonly name: string;
protected _message: string;
readonly message: string;
protected _stack: IStackInfo;
readonly stack: IStackInfo;
static throwAsync(exception: Exception): void;
constructor(messageOrParentException?: string | Exception | Error, parentException?: Exception | Error);
protected _getStack(e: Error): IStackInfo;
protected _getUnknownStackInfo(): IStackInfo;
protected _getDefaultStackInfo(stack: string): IStackInfo;
protected _getFirefoxStackInfo(stack: string): IStackInfo;
}