class Devto::Error

Direct Known Subclasses

Defined in:

devto/error.cr

Constant Summary

JSON_TYPES = ["text/json", "application/json"]

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(response : HTTP::Client::Response = nil) #

Class Method Detail

def self.from_json_response(response : HTTP::Client::Response) #

def self.from_response(response : HTTP::Client::Response) #

def self.json(response) #

Instance Method Detail

def build_error_message #

def response_error #