API errors cover any other type of problem, such as:
t() :: %Upvest.APIError{ __exception__: term(), code: term(), details: term(), message: term(), type: term() }