//#region src/error.d.ts /** * Common shape of error bodies returned by the Storyblok Management API. * * Most error responses include an `error` field with a human-readable message. */ interface ApiErrorBody { error?: string; message?: string; [key: string]: unknown; } /** * Structured HTTP error thrown by the Management API client when `throwOnError: true`. */ declare class ClientError extends Error { readonly response: { status: number; statusText: string; data: ApiErrorBody | undefined; }; constructor(message: string, options: { status: number; statusText: string; data: unknown; }); } //#endregion export { ApiErrorBody, ClientError }; //# sourceMappingURL=error.d.cts.map