8741e5a800
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
Common error handling functionality
Contains some common functionality of error handling.
This package will be imported both by the frontend and backend.