struct

AI::Google::GoogleErrorInfo

Inherits JSON::Serializable < Struct < Value < Object

Information about a Google API error.

Constructors

new(code : Int32 | Nil, message : String, status : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code

Error code, e.g. 400, 401, 403.

Source
message

Error message.

Source
status

Error status, e.g. "INVALID_ARGUMENT", "UNAUTHENTICATED".

Source