Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
medup
v0.1.9
Medium
Client
Collections
Media
Posts
Users
ClientError
Connection
ConnectionAPI
Error
ParagraphMetadata
Post
Paragraph
DropCapImage
Iframe
MixtapeMetadata
ParagraphMarkup
Tag
PostBodyModel
PostContent
PostVirtuals
ServerError
User
Medup
Command
Tool
Built with Crystal 1.9.2
2023-10-08 12:08:15 UTC
class
Medium::Error
Medium::Error
Exception
Reference
Object
Direct Known Subclasses
Medium::ClientError
Medium::ServerError
Defined in:
medium/error.cr
Constructors
.new
(response : HTTP::Client::Response =
nil
)
Class Method Summary
.from_response
(response : HTTP::Client::Response)
.json
(response)
Instance Method Summary
#build_error_message
#response_error
Constructor Detail
def self.
new
(response : HTTP::Client::Response =
nil
)
#
Class Method Detail
def self.
from_response
(response : HTTP::Client::Response)
#
def self.
json
(response)
#
Instance Method Detail
def
build_error_message
#
def
response_error
#