struct
AI::Google::GoogleErrorInfo
- AI::Google::GoogleErrorInfo
- Struct
- Value
- Object
Overview
Information about a Google API error.
Included Modules
- JSON::Serializable
Defined in:
ai/google/google_error.crConstructors
- .new(code : Int32 | Nil, message : String, status : String)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#code : Int32 | Nil
Error code, e.g.
-
#message : String
Error message.
-
#status : String
Error status, e.g.