Function getProblemFromError

Determines the problem from an Axios error.

  • Parameters

    • error: AxiosError

    Returns PROBLEM_CODE