| 39 | |
| 40 | /** An error that already carries a user-facing message and a status. */ |
| 41 | export class ApiError extends Error { |
| 42 | readonly code: ApiErrorCode; |
| 43 | /** Optional second line: what the user can do about it. */ |
| 44 | readonly hint: string | undefined; |
nothing calls this directly
no outgoing calls
no test coverage detected