Version Packages
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
# @backstage/errors
|
||||
|
||||
## 1.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- b2319ff: A new `toError` utility function is now available for converting unknown values to `ErrorLike` objects. If the value is already error-like it is returned as-is, strings are used directly as the error message, and all other values are wrapped as `unknown error '<stringified>'`. Non-error causes passed to `CustomErrorBase` are now converted and stored using `toError` rather than discarded.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 608c1e5: Simplified `assertError` to delegate to `isError` instead of duplicating the same checks.
|
||||
|
||||
## 1.3.0-next.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/errors",
|
||||
"version": "1.3.0-next.0",
|
||||
"version": "1.3.0",
|
||||
"description": "Common utilities for error handling within Backstage",
|
||||
"backstage": {
|
||||
"role": "common-library"
|
||||
|
||||
Reference in New Issue
Block a user