Have assertError delegate to isError in @backstage/errors
Simplify the assertError implementation by delegating to isError instead of duplicating the same validation checks. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/errors': patch
|
||||
---
|
||||
|
||||
Simplified `assertError` to delegate to `isError` instead of duplicating the same checks.
|
||||
Reference in New Issue
Block a user