struct Discord::APIError

Overview

An API error response.

Included Modules

Defined in:

discordcr/errors.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def code : Int32 #

[View source]
def code=(code : Int32) #

[View source]
def message : String #

[View source]
def message=(message : String) #

[View source]