| 1 | import axios from 'axios' |
| 2 | |
| 3 | export interface AppError { |
| 4 | type: string |
| 5 | code: string |
| 6 | title: string |
| 7 | detail: string |
| 8 | suggestion: string |
| 9 | status: number |
| 10 | retryable: boolean |
| 11 | diagnostics?: Record<string, any> |
| 12 | } |
| 13 | |
| 14 | export type ErrorLike = AppError | string | Error | unknown |
| 15 |
nothing calls this directly
no outgoing calls
no test coverage detected