@forge/sql

3.0.26-experimental-04cc2b93.0.27-next.0
out/utils/error-handling.js
~out/utils/error-handling.jsModified
+3−2
Index: package/out/utils/error-handling.js
===================================================================
--- package/out/utils/error-handling.js
+++ package/out/utils/error-handling.js
@@ -1,8 +1,7 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.isForgeError = isForgeError;
-exports.checkResponseError = checkResponseError;
+exports.checkResponseError = exports.isForgeError = void 0;
 const errorCodes_1 = require("../errorCodes");
 const errors_1 = require("../errors");
 function isForgeError(body) {
     if (typeof body === 'object' && body !== null) {
@@ -11,8 +10,9 @@
         }
     }
     return false;
 }
+exports.isForgeError = isForgeError;
 async function checkResponseError(response, message) {
     if (response.ok) {
         return;
     }
@@ -41,4 +41,5 @@
         message: message || 'Unexpected error in Forge SQL API request',
         context: { responseText }
     });
 }
+exports.checkResponseError = checkResponseError;