Exception: Qiniu::RequestFailed

Inherits:
ResponseError show all
Defined in:
lib/qiniu/exceptions.rb

Instance Attribute Summary

Attributes inherited from ResponseError

#response

Instance Method Summary collapse

Methods inherited from ResponseError

#http_body, #http_code, #initialize, #inspect

Constructor Details

This class inherits a constructor from Qiniu::ResponseError

Instance Method Details

#messageObject



30
31
32
# File 'lib/qiniu/exceptions.rb', line 30

def message
  "HTTP status code: #{http_code}. Response body: #{http_body}"
end

#to_sObject



34
35
36
# File 'lib/qiniu/exceptions.rb', line 34

def to_s
  message
end