Exception: Rhoconnect::ApiException
- Inherits:
-
Exception
- Object
- Exception
- Rhoconnect::ApiException
- Defined in:
- lib/rhoconnect/server.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code, message) ⇒ ApiException
constructor
A new instance of ApiException.
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,) super() @error_code = error_code end |
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
16 17 18 |
# File 'lib/rhoconnect/server.rb', line 16 def error_code @error_code end |