Exception: Gruf::Client::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gruf/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorObject (readonly)

Returns the value of attribute error.



22
23
24
# File 'lib/gruf/client.rb', line 22

def error
  @error
end