core-native
Version:
A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.
24 lines (23 loc) • 810 B
TypeScript
export declare abstract class Exception {
message: string;
protected constructor(message: string);
}
export declare class APIException extends Exception {
statusCode: number;
requestURL: string;
errorId: string | null;
errorCode: string | null;
constructor(message: string, statusCode: number, requestURL: string, errorId: string | null, errorCode: string | null);
}
export declare class NetworkConnectionException extends Exception {
constructor(requestURL: string);
}
export declare class RuntimeException extends Exception {
errorObject: any;
constructor(message: string, errorObject: any);
}
export declare class ReactLifecycleException extends Exception {
message: string;
componentStack: string;
constructor(message: string, componentStack: string);
}