Exception: TestLink::Exceptions::ErrorResponseException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, code) ⇒ ErrorResponseException

Returns a new instance of ErrorResponseException.



22
23
24
25
# File 'lib/test_link/exceptions/error_response_exception.rb', line 22

def initialize message, code
  super message
  @code = code
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



21
22
23
# File 'lib/test_link/exceptions/error_response_exception.rb', line 21

def code
  @code
end