Introduce the @backstage/errors package.

Encode thrown errors in the backend as a JSON payload using a facility in that package, and render helpful frontend displays of those errors.

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-03-08 17:02:51 +01:00
parent 9804a5273e
commit 8686eb38cf
85 changed files with 880 additions and 177 deletions
+1
View File
@@ -50,6 +50,7 @@
"@backstage/cli": "*",
"@backstage/config": "*",
"@backstage/core": "*",
"@backstage/errors": "*",
"@backstage/plugin-api-docs": "*",
"@backstage/plugin-app-backend": "*",
"@backstage/plugin-auth-backend": "*",
+2
View File
@@ -36,6 +36,7 @@ import { version as catalogModel } from '../../../catalog-model/package.json';
import { version as cli } from '../../../cli/package.json';
import { version as config } from '../../../config/package.json';
import { version as core } from '../../../core/package.json';
import { version as errors } from '../../../errors/package.json';
import { version as testUtils } from '../../../test-utils/package.json';
import { version as theme } from '../../../theme/package.json';
@@ -67,6 +68,7 @@ export const packageVersions = {
'@backstage/cli': cli,
'@backstage/config': config,
'@backstage/core': core,
'@backstage/errors': errors,
'@backstage/plugin-api-docs': pluginApiDocs,
'@backstage/plugin-app-backend': pluginAppBackend,
'@backstage/plugin-auth-backend': pluginAuthBackend,