View Source AlphaVantage.Error (Alpha Vantage v0.3.0)

A struct which represents an error that occurred during an Alpha Vantage API call.

It is important to note that Alpha Vantage will return some error payloads inside a 200 response.

It contains the following fields:

  • :body – the raw HTTP response body
  • :status_code – the HTTP response status code (e.g., 401)

Summary

Types

@type t() :: %AlphaVantage.Error{body: String.t(), status_code: integer()}