@naturalcycles/js-lib 14.107.0 → 14.107.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/dist/error/error.util.js
CHANGED
package/package.json
CHANGED
package/src/error/error.util.ts
CHANGED
|
@@ -158,9 +158,9 @@ export function _isErrorObject(o: any): o is ErrorObject {
|
|
|
158
158
|
* })
|
|
159
159
|
* }
|
|
160
160
|
*/
|
|
161
|
-
export function _errorDataAppend(err:
|
|
162
|
-
|
|
163
|
-
...
|
|
161
|
+
export function _errorDataAppend(err: any, data: ErrorData): void {
|
|
162
|
+
err.data = {
|
|
163
|
+
...err.data,
|
|
164
164
|
...data,
|
|
165
165
|
}
|
|
166
166
|
}
|