Files
backstage/packages/errors
Patrik Oldsberg 8741e5a800 errors: add explicit name property to ServiceUnavailableError
Every CustomErrorBase subclass explicitly sets `name = 'ClassName' as const`
except ServiceUnavailableError, which relied on the constructor fallback that
reads `this.constructor.name`. This is fragile under minification. Added the
explicit name property for consistency and added a serialization round-trip test.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-15 12:20:33 +02:00
..
2026-04-14 14:57:31 +00:00
2026-04-14 14:57:31 +00:00

Common error handling functionality

Contains some common functionality of error handling.

This package will be imported both by the frontend and backend.