@fjell/core 4.4.54 → 4.4.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1337,6 +1337,7 @@ var NotFoundError = class extends ActionError {
|
|
|
1337
1337
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1338
1338
|
}
|
|
1339
1339
|
});
|
|
1340
|
+
this.name = "NotFoundError";
|
|
1340
1341
|
}
|
|
1341
1342
|
};
|
|
1342
1343
|
|
|
@@ -1885,7 +1886,7 @@ function createGetWrapper(coordinate, implementation, options = {}) {
|
|
|
1885
1886
|
};
|
|
1886
1887
|
throw options.onError(error, context);
|
|
1887
1888
|
}
|
|
1888
|
-
if (error
|
|
1889
|
+
if (error instanceof NotFoundError) {
|
|
1889
1890
|
throw error;
|
|
1890
1891
|
}
|
|
1891
1892
|
throw new Error(
|