Exception: Qubole::HttpException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/qubole/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ HttpException

Returns a new instance of HttpException.



4
5
6
7
# File 'lib/qubole/exceptions.rb', line 4

def initialize(object)
  @body = object.body
  super(object.message)
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



3
4
5
# File 'lib/qubole/exceptions.rb', line 3

def body
  @body
end