Exception: SendSonar::RequestException

Inherits:
Exception
  • Object
show all
Defined in:
lib/send_sonar/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(original_exception) ⇒ RequestException

Returns a new instance of RequestException.



8
9
10
# File 'lib/send_sonar/exceptions.rb', line 8

def initialize(original_exception)
  @original_exception = original_exception
end

Instance Method Details

#inspectObject



12
13
14
# File 'lib/send_sonar/exceptions.rb', line 12

def inspect
  self.class.name
end

#to_sObject



16
17
18
# File 'lib/send_sonar/exceptions.rb', line 16

def to_s
  inspect
end