@odata2ts/http-client-fetch
Version:
HTTP client based on fetch and consumable by odata2ts
9 lines (8 loc) • 484 B
TypeScript
import { ODataClientError } from "@odata2ts/http-client-api";
export declare class FetchClientError extends Error implements ODataClientError {
readonly status?: number | undefined;
readonly headers?: Record<string, string> | undefined;
readonly cause?: Error | undefined;
readonly responseData?: unknown;
constructor(message: string, status?: number | undefined, headers?: Record<string, string> | undefined, cause?: Error | undefined, responseData?: unknown);
}