Googly.CloudVision.Error (googly_cloud_vision v0.1.0)

Copy Markdown View Source

A failed API response. status is the HTTP status; code, message, reason and errors come from the Google error envelope when present.

Summary

Types

t()

@type t() :: %Googly.CloudVision.Error{
  code: integer() | nil,
  errors: list() | nil,
  message: String.t() | nil,
  reason: String.t() | nil,
  response: Req.Response.t(),
  status: pos_integer()
}