(error)
| 74641 | output += ` |
| 74642 | ${source_default.yellow("Suggestion:")} ${formatted.suggestion} |
| 74643 | `; |
| 74644 | } |
| 74645 | return output; |
| 74646 | } |
| 74647 | |
| 74648 | // src/utils/engineErrorHandler.ts |
| 74649 | function getStatusCode(error) { |
| 74650 | if (typeof error?.status === "number") { |
| 74651 | return error.status; |
| 74652 | } |
| 74653 | if (axios_default.isAxiosError(error)) { |
| 74654 | return error.response?.status ?? null; |
| 74655 | } |
| 74656 | if (typeof error?.response?.status === "number") { |
| 74657 | return error.response.status; |
no outgoing calls
no test coverage detected
searching dependent graphs…