@webiny/error
Advanced tools
+1
-8
@@ -1,8 +0,2 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { | ||
| value: true | ||
| }); | ||
| exports.default = void 0; | ||
| class WError extends Error { | ||
| export default class WError extends Error { | ||
| code = null; | ||
@@ -31,4 +25,3 @@ data = null; | ||
| } | ||
| exports.default = WError; | ||
| //# sourceMappingURL=Error.js.map |
+2
-2
@@ -1,4 +0,4 @@ | ||
| import Error, { ErrorOptions } from "./Error"; | ||
| import Error, { type ErrorOptions } from "./Error.js"; | ||
| export { Error as WebinyError }; | ||
| export default Error; | ||
| export { ErrorOptions }; | ||
| export type { ErrorOptions }; |
+3
-21
@@ -1,23 +0,5 @@ | ||
| "use strict"; | ||
| import Error from "./Error.js"; | ||
| export { Error as WebinyError }; | ||
| export default Error; | ||
| var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; | ||
| Object.defineProperty(exports, "__esModule", { | ||
| value: true | ||
| }); | ||
| Object.defineProperty(exports, "ErrorOptions", { | ||
| enumerable: true, | ||
| get: function () { | ||
| return _Error.ErrorOptions; | ||
| } | ||
| }); | ||
| Object.defineProperty(exports, "WebinyError", { | ||
| enumerable: true, | ||
| get: function () { | ||
| return _Error.default; | ||
| } | ||
| }); | ||
| exports.default = void 0; | ||
| var _Error = _interopRequireWildcard(require("./Error")); | ||
| var _default = exports.default = _Error.default; | ||
| //# sourceMappingURL=index.js.map |
+6
-9
| { | ||
| "name": "@webiny/error", | ||
| "version": "0.0.0-unstable.e53eceafb5", | ||
| "version": "0.0.0-unstable.e622468070", | ||
| "type": "module", | ||
| "main": "index.js", | ||
@@ -17,11 +18,7 @@ "types": "index.d.ts", | ||
| "devDependencies": { | ||
| "@webiny/project-utils": "0.0.0-unstable.e53eceafb5", | ||
| "rimraf": "6.0.1", | ||
| "typescript": "5.3.3" | ||
| "@webiny/build-tools": "0.0.0-unstable.e622468070", | ||
| "rimraf": "6.1.2", | ||
| "typescript": "5.9.3" | ||
| }, | ||
| "scripts": { | ||
| "build": "node ../cli/bin.js run build", | ||
| "watch": "node ../cli/bin.js run watch" | ||
| }, | ||
| "gitHead": "e53eceafb5ce1a3872c9b4548939bb2eae5b1aef" | ||
| "gitHead": "e622468070839dc3f9552c85bf2bbac12d2ef88f" | ||
| } |
+7
-16
| # @webiny/error | ||
| [](https://www.npmjs.com/package/webiny-data) | ||
| [](https://www.npmjs.com/package/webiny-data) | ||
| [](https://github.com/prettier/prettier) | ||
| [](http://makeapullrequest.com) | ||
| A set of frequently used data higher order functions. | ||
| > [!NOTE] | ||
| > This package is part of the [Webiny](https://www.webiny.com) monorepo. | ||
| > It’s **included in every Webiny project by default** and is not meant to be used as a standalone package. | ||
| For more information, please visit | ||
| [the official docs](https://github.com/doitadrian/data). | ||
| ## Install | ||
| ``` | ||
| npm install --save @webiny/error | ||
| ``` | ||
| 📘 **Documentation:** [https://www.webiny.com/docs](https://www.webiny.com/docs) | ||
| Or if you prefer yarn: | ||
| ``` | ||
| yarn add @webiny/error | ||
| ``` | ||
| --- | ||
| _This README file is automatically generated during the publish process._ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Yes
NaN6255
-15.86%43
-34.85%11
-47.62%