Exception: ROX::OXException

Inherits:
Exception
  • Object
show all
Defined in:
lib/rox/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ OXException

Returns a new instance of OXException.



4
5
6
# File 'lib/rox/exception.rb', line 4

def initialize(response)
  @response = response
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/rox/exception.rb', line 8

def to_s
  @response.error
end