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.



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

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

Instance Attribute Details

#error_codeObject

Returns the value of attribute error_code.



14
15
16
# File 'lib/rhoconnect/server.rb', line 14

def error_code
  @error_code
end