class Devto::Error

Direct Known Subclasses

Defined in:

devto/error.cr

Constant Summary

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

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

[View source]
def self.json(response) #

[View source]

Instance Method Detail

def build_error_message #

[View source]
def response_error #

[View source]