Fetcher::Error
Constructors
new(kind : ErrorKind, message : String, status_code : Int32 | Nil = nil, url : String | Nil = nil, driver : String | Nil = nil)
SourceInstance methods
clone
Sourcecopy_with(kind _kind = @kind, message _message = @message, status_code _status_code = @status_code, url _url = @url, driver _driver = @driver)
Sourcedriver
kind
message
status_code
to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
url