npm package diff
Package: @forge/cache
Versions: 1.0.3-next.0 - 1.0.3-next.0-experimental-ab129b0
File: package/out/kvs/utils/error-handling.d.ts
Index: package/out/kvs/utils/error-handling.d.ts
===================================================================
--- package/out/kvs/utils/error-handling.d.ts
+++ package/out/kvs/utils/error-handling.d.ts
@@ -0,0 +1,7 @@
+import { APIResponse } from '@forge/api';
+import { ForgeError } from '../errors';
+export declare function isForgeError(body: unknown): body is ForgeError;
+export declare function safeGetParsedBody(text: string): unknown | undefined;
+export declare function extractTraceId(response: APIResponse): string | null;
+export declare function checkResponseError(response: APIResponse): Promise<void>;
+//# sourceMappingURL=error-handling.d.ts.map
\ No newline at end of file