Exception: RPC::JSON::Client::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RPC::JSON::Client::Error
- Defined in:
- lib/rpcjson.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(error) ⇒ Error
Returns a new instance of Error.
10 11 12 |
# File 'lib/rpcjson.rb', line 10 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
9 10 11 |
# File 'lib/rpcjson.rb', line 9 def error @error end |