Exception: Gruf::Client::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Gruf::Client::Error
- Defined in:
- lib/gruf/client.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
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.
24 25 26 |
# File 'lib/gruf/client.rb', line 24 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
22 23 24 |
# File 'lib/gruf/client.rb', line 22 def error @error end |