Merge pull request #8144 from backstage/jhaals/errorz

errors: rework error response naming
This commit is contained in:
Patrik Oldsberg
2021-11-19 09:49:39 +01:00
committed by GitHub
6 changed files with 108 additions and 46 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/errors': patch
---
Deprecate `parseErrorResponse` in favour of `parseErrorResponseBody`. Deprecate `data` field inside `ErrorResponse` in favour of `body`.
Rename the error name for unknown errors from `unknown` to `error`.