Discord::APIError
Inherits JSON::Serializable / Struct / Value / Object
An API error response.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
code
Sourcecode=(code : Int32)
Sourcemessage
Sourcemessage=(message : String)
Source