class Zold::HttpError
The error, if connection fails
Public Class Methods
new(ex)
click to toggle source
# File lib/zold/http.rb, line 52 def initialize(ex) @ex = ex end
Public Instance Methods
body()
click to toggle source
# File lib/zold/http.rb, line 56 def body Backtrace.new(@ex).to_s end
headers()
click to toggle source
# File lib/zold/http.rb, line 68 def headers {} end
status()
click to toggle source
# File lib/zold/http.rb, line 60 def status 599 end
status_line()
click to toggle source
# File lib/zold/http.rb, line 64 def status_line @ex.message || '' end