@speclynx/apidom-error 2.6.0 → 2.6.1
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/CHANGELOG.md +4 -0
- package/dist/apidom-error.browser.js +39 -39
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.6.1](https://github.com/speclynx/apidom/compare/v2.6.0...v2.6.1) (2026-02-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @speclynx/apidom-error
|
|
9
|
+
|
|
6
10
|
# [2.6.0](https://github.com/speclynx/apidom/compare/v2.5.1...v2.6.0) (2026-02-03)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @speclynx/apidom-error
|
|
@@ -35,39 +35,32 @@ class ApiDOMAggregateError extends AggregateError {
|
|
|
35
35
|
|
|
36
36
|
/***/ },
|
|
37
37
|
|
|
38
|
-
/***/
|
|
39
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
40
|
-
|
|
41
|
-
__webpack_require__.r(__webpack_exports__);
|
|
42
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
43
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
44
|
-
/* harmony export */ });
|
|
45
|
-
/* harmony import */ var _UnsupportedOperationError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(537);
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
class NotImplementedError extends _UnsupportedOperationError_ts__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
52
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NotImplementedError);
|
|
53
|
-
|
|
54
|
-
/***/ },
|
|
55
|
-
|
|
56
|
-
/***/ 537
|
|
38
|
+
/***/ 797
|
|
57
39
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
58
40
|
|
|
59
41
|
__webpack_require__.r(__webpack_exports__);
|
|
60
42
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
61
43
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
62
44
|
/* harmony export */ });
|
|
63
|
-
/* harmony import */ var
|
|
64
|
-
|
|
45
|
+
/* harmony import */ var _ApiDOMAggregateError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(172);
|
|
65
46
|
|
|
66
47
|
/**
|
|
67
48
|
* @public
|
|
68
49
|
*/
|
|
69
|
-
class
|
|
70
|
-
|
|
50
|
+
class ApiDOMError extends Error {
|
|
51
|
+
static [Symbol.hasInstance](instance) {
|
|
52
|
+
// we want to ApiDOMAggregateError to act as if ApiDOMError was its superclass
|
|
53
|
+
return super[Symbol.hasInstance](instance) || Function.prototype[Symbol.hasInstance].call(_ApiDOMAggregateError_ts__WEBPACK_IMPORTED_MODULE_0__["default"], instance);
|
|
54
|
+
}
|
|
55
|
+
constructor(message, options) {
|
|
56
|
+
super(message, options);
|
|
57
|
+
this.name = this.constructor.name;
|
|
58
|
+
if (typeof Error.captureStackTrace === 'function') {
|
|
59
|
+
Error.captureStackTrace(this, this.constructor);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ApiDOMError);
|
|
71
64
|
|
|
72
65
|
/***/ },
|
|
73
66
|
|
|
@@ -100,32 +93,39 @@ class ApiDOMStructuredError extends _ApiDOMError_ts__WEBPACK_IMPORTED_MODULE_0__
|
|
|
100
93
|
|
|
101
94
|
/***/ },
|
|
102
95
|
|
|
103
|
-
/***/
|
|
96
|
+
/***/ 428
|
|
104
97
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
105
98
|
|
|
106
99
|
__webpack_require__.r(__webpack_exports__);
|
|
107
100
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
108
101
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
109
102
|
/* harmony export */ });
|
|
110
|
-
/* harmony import */ var
|
|
103
|
+
/* harmony import */ var _UnsupportedOperationError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(537);
|
|
104
|
+
|
|
111
105
|
|
|
112
106
|
/**
|
|
113
107
|
* @public
|
|
114
108
|
*/
|
|
115
|
-
class
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
109
|
+
class NotImplementedError extends _UnsupportedOperationError_ts__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
110
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (NotImplementedError);
|
|
111
|
+
|
|
112
|
+
/***/ },
|
|
113
|
+
|
|
114
|
+
/***/ 537
|
|
115
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
116
|
+
|
|
117
|
+
__webpack_require__.r(__webpack_exports__);
|
|
118
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
119
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
120
|
+
/* harmony export */ });
|
|
121
|
+
/* harmony import */ var _ApiDOMError_ts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(797);
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
class UnsupportedOperationError extends _ApiDOMError_ts__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
128
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (UnsupportedOperationError);
|
|
129
129
|
|
|
130
130
|
/***/ }
|
|
131
131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speclynx/apidom-error",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Backward compatible custom ApiDOM errors with causes.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"README.md",
|
|
51
51
|
"CHANGELOG.md"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "bac6186b9bca75fd7deac283c3fb042559eea5fb"
|
|
54
54
|
}
|