class Medium::Error

Direct Known Subclasses

Defined in:

medium/error.cr

Constant Summary

JSON_TYPES = ["application/json", "text/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 #