struct Discord::APIError

Overview

An API error response.

Defined in:

discordcr/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_1119 : JSON::PullParser) #

Instance Method Detail

def code : Int32 #

def code=(_code : Int32) #

def message : String #

def message=(_message : String) #

def to_json(json : JSON::Builder) #