@freemework/common
Version:
Common library of the Freemework Project.
21 lines (20 loc) • 693 B
TypeScript
export declare class FException extends Error {
static wrapIfNeeded(likeError: any): FException;
readonly innerException: FException | null;
constructor();
constructor(message: string);
constructor(message: string, innerException?: FException);
constructor(innerException: FException);
get name(): string;
toString(): string;
}
export declare class FExceptionNativeObjectWrapper extends FException {
readonly nativeObject: any;
constructor(nativeObject: any);
}
export declare class FExceptionNativeErrorWrapper extends FException {
readonly nativeError: Error;
constructor(nativeError: Error);
get name(): string;
toString(): string;
}