struct

Discord::APIError

Inherits JSON::Serializable / Struct / Value / Object

An API error response.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code
Source
code=(code : Int32)
Source
message
Source
message=(message : String)
Source