@afriex/core
Version:
HTTP client, configuration and typed errors for the Afriex Business API SDK
13 lines • 414 B
TypeScript
import { AfriexError } from "./AfriexError.js";
export declare class NetworkError extends AfriexError {
readonly originalError?: Error;
constructor(message: string, originalError?: Error);
toJSON(): {
name: string;
message: string;
timestamp: Date;
stack: string | undefined;
originalError: string | undefined;
};
}
//# sourceMappingURL=NetworkError.d.ts.map