Exception: Groonga::Client::Protocol::WrappedError

Inherits:
Error
  • Object
show all
Defined in:
lib/groonga/client/protocol/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw_error) ⇒ WrappedError

Returns a new instance of WrappedError.



29
30
31
32
# File 'lib/groonga/client/protocol/error.rb', line 29

def initialize(raw_error)
  @raw_error = raw_error
  super(raw_error.message)
end

Instance Attribute Details

#raw_errorObject (readonly)

Returns the value of attribute raw_error.



28
29
30
# File 'lib/groonga/client/protocol/error.rb', line 28

def raw_error
  @raw_error
end