@eggjs/errors 0.0.0
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/LICENSE +21 -0
- package/README.md +258 -0
- package/dist/base.d.ts +22 -0
- package/dist/base.js +35 -0
- package/dist/base_error.d.ts +9 -0
- package/dist/base_error.js +13 -0
- package/dist/base_exception.d.ts +9 -0
- package/dist/base_exception.js +13 -0
- package/dist/error.d.ts +9 -0
- package/dist/error.js +14 -0
- package/dist/error_options.d.ts +8 -0
- package/dist/error_options.js +8 -0
- package/dist/error_type.d.ts +18 -0
- package/dist/error_type.js +9 -0
- package/dist/exception.d.ts +9 -0
- package/dist/exception.js +14 -0
- package/dist/framework/formatter.d.ts +12 -0
- package/dist/framework/formatter.js +28 -0
- package/dist/framework/framework_base_error.d.ts +15 -0
- package/dist/framework/framework_base_error.js +37 -0
- package/dist/http/400.d.ts +8 -0
- package/dist/http/400.js +18 -0
- package/dist/http/401.d.ts +8 -0
- package/dist/http/401.js +18 -0
- package/dist/http/402.d.ts +8 -0
- package/dist/http/402.js +18 -0
- package/dist/http/403.d.ts +8 -0
- package/dist/http/403.js +18 -0
- package/dist/http/404.d.ts +8 -0
- package/dist/http/404.js +18 -0
- package/dist/http/405.d.ts +8 -0
- package/dist/http/405.js +18 -0
- package/dist/http/406.d.ts +8 -0
- package/dist/http/406.js +18 -0
- package/dist/http/407.d.ts +8 -0
- package/dist/http/407.js +18 -0
- package/dist/http/408.d.ts +8 -0
- package/dist/http/408.js +18 -0
- package/dist/http/409.d.ts +8 -0
- package/dist/http/409.js +18 -0
- package/dist/http/410.d.ts +8 -0
- package/dist/http/410.js +18 -0
- package/dist/http/411.d.ts +8 -0
- package/dist/http/411.js +18 -0
- package/dist/http/412.d.ts +8 -0
- package/dist/http/412.js +18 -0
- package/dist/http/413.d.ts +8 -0
- package/dist/http/413.js +18 -0
- package/dist/http/414.d.ts +8 -0
- package/dist/http/414.js +18 -0
- package/dist/http/415.d.ts +8 -0
- package/dist/http/415.js +18 -0
- package/dist/http/416.d.ts +8 -0
- package/dist/http/416.js +18 -0
- package/dist/http/417.d.ts +8 -0
- package/dist/http/417.js +18 -0
- package/dist/http/418.d.ts +8 -0
- package/dist/http/418.js +18 -0
- package/dist/http/421.d.ts +8 -0
- package/dist/http/421.js +18 -0
- package/dist/http/422.d.ts +8 -0
- package/dist/http/422.js +18 -0
- package/dist/http/423.d.ts +8 -0
- package/dist/http/423.js +18 -0
- package/dist/http/424.d.ts +8 -0
- package/dist/http/424.js +18 -0
- package/dist/http/425.d.ts +8 -0
- package/dist/http/425.js +18 -0
- package/dist/http/426.d.ts +8 -0
- package/dist/http/426.js +18 -0
- package/dist/http/428.d.ts +8 -0
- package/dist/http/428.js +18 -0
- package/dist/http/429.d.ts +8 -0
- package/dist/http/429.js +18 -0
- package/dist/http/431.d.ts +8 -0
- package/dist/http/431.js +18 -0
- package/dist/http/451.d.ts +8 -0
- package/dist/http/451.js +18 -0
- package/dist/http/500.d.ts +8 -0
- package/dist/http/500.js +18 -0
- package/dist/http/501.d.ts +8 -0
- package/dist/http/501.js +18 -0
- package/dist/http/502.d.ts +8 -0
- package/dist/http/502.js +18 -0
- package/dist/http/503.d.ts +8 -0
- package/dist/http/503.js +18 -0
- package/dist/http/504.d.ts +8 -0
- package/dist/http/504.js +18 -0
- package/dist/http/505.d.ts +8 -0
- package/dist/http/505.js +18 -0
- package/dist/http/506.d.ts +8 -0
- package/dist/http/506.js +18 -0
- package/dist/http/507.d.ts +8 -0
- package/dist/http/507.js +18 -0
- package/dist/http/508.d.ts +8 -0
- package/dist/http/508.js +18 -0
- package/dist/http/509.d.ts +8 -0
- package/dist/http/509.js +18 -0
- package/dist/http/510.d.ts +8 -0
- package/dist/http/510.js +18 -0
- package/dist/http/511.d.ts +8 -0
- package/dist/http/511.js +18 -0
- package/dist/http/http_error.d.ts +13 -0
- package/dist/http/http_error.js +16 -0
- package/dist/http/http_error_options.d.ts +10 -0
- package/dist/http/http_header.d.ts +6 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +52 -0
- package/package.json +52 -0
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@eggjs/errors",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "egg-errors provide two kinds of errors that is Error and Exception.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/index.js",
|
|
8
|
+
"./package.json": "./package.json"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"homepage": "https://github.com/eggjs/egg/tree/next/packages/errors",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/eggjs/egg/issues"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/eggjs/egg.git",
|
|
24
|
+
"directory": "packages/errors"
|
|
25
|
+
},
|
|
26
|
+
"author": "popomore",
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">= 22.18.0"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/node": "^24.6.2",
|
|
33
|
+
"mm": "^4.0.2",
|
|
34
|
+
"oxlint": "^1.19.0",
|
|
35
|
+
"rimraf": "^6.0.1",
|
|
36
|
+
"statuses": "^2.0.1",
|
|
37
|
+
"toidentifier": "^1.0.0",
|
|
38
|
+
"tsdown": "^0.15.4",
|
|
39
|
+
"typescript": "^5.9.3",
|
|
40
|
+
"vitest": "4.0.0-beta.16",
|
|
41
|
+
"@eggjs/tsconfig": "3.1.0-beta.27"
|
|
42
|
+
},
|
|
43
|
+
"main": "./dist/index.js",
|
|
44
|
+
"module": "./dist/index.js",
|
|
45
|
+
"types": "./dist/index.d.ts",
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsdown",
|
|
48
|
+
"typecheck": "tsc --noEmit",
|
|
49
|
+
"lint": "oxlint --type-aware",
|
|
50
|
+
"test": "vitest run"
|
|
51
|
+
}
|
|
52
|
+
}
|