todo,todo-backend: use @backstage/errors

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-03-11 18:14:02 +01:00
parent e1d3fcf1c0
commit 51da6891e0
6 changed files with 8 additions and 34 deletions
+1
View File
@@ -28,6 +28,7 @@
"@backstage/catalog-client": "^0.3.6",
"@backstage/catalog-model": "^0.7.3",
"@backstage/config": "^0.1.3",
"@backstage/errors": "^0.1.1",
"@backstage/integration": "^0.5.0",
"@types/express": "^4.17.6",
"cross-fetch": "^3.0.6",
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { InputError, NotFoundError } from '@backstage/backend-common';
import { InputError, NotFoundError } from '@backstage/errors';
import { CatalogClient } from '@backstage/catalog-client';
import {
LOCATION_ANNOTATION,
+1 -1
View File
@@ -14,8 +14,8 @@
* limitations under the License.
*/
import { InputError } from '@backstage/backend-common';
import { EntityName, parseEntityName } from '@backstage/catalog-model';
import { InputError } from '@backstage/errors';
import express from 'express';
import Router from 'express-promise-router';
import { TodoService } from './types';