| 22 | } |
| 23 | |
| 24 | interface AxiosLikeError { |
| 25 | response?: { |
| 26 | data?: { data?: Record<string, string[]> } |
| 27 | status?: number |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | export const getErrorMessages = (error: AxiosLikeError): ErrorMessages => { |
| 32 | const errors = new ErrorMessages() |
nothing calls this directly
no outgoing calls
no test coverage detected