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:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { NotModifiedError } from '@backstage/backend-common';
|
||||
import { NotModifiedError } from '@backstage/errors';
|
||||
import { Entity, serializeEntityRef } from '@backstage/catalog-model';
|
||||
import {
|
||||
GeneratorBase,
|
||||
|
||||
Reference in New Issue
Block a user