Exception: Rhoconnect::ApiException

Inherits:
Exception
  • Object
show all
Defined in:
lib/rhoconnect/server.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_code, message) ⇒ ApiException

Returns a new instance of ApiException.



17
18
19
20
# File 'lib/rhoconnect/server.rb', line 17

def initialize(error_code,message)
  super(message)
  @error_code = error_code
end

Instance Attribute Details

#error_codeObject

Returns the value of attribute error_code.



16
17
18
# File 'lib/rhoconnect/server.rb', line 16

def error_code
  @error_code
end