| 14 | * Useful for throwing errors and handling them in error boundaries. |
| 15 | */ |
| 16 | export class ServiceErrorException extends Error { |
| 17 | constructor(public readonly serviceError: ServiceError) { |
| 18 | super(JSON.stringify(serviceError)); |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected