Exception: Groonga::Client::InvalidResponse
- Defined in:
- lib/groonga/client/error.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#raw_response ⇒ Object
readonly
Returns the value of attribute raw_response.
Instance Method Summary collapse
-
#initialize(command, raw_response, error_message) ⇒ InvalidResponse
constructor
A new instance of InvalidResponse.
Constructor Details
#initialize(command, raw_response, error_message) ⇒ InvalidResponse
Returns a new instance of InvalidResponse.
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/groonga/client/error.rb', line 40 def initialize(command, raw_response, ) @command = command @raw_response = raw_response = +"invalid response: " << "#{command.command_name}: " << "#{}: " << "<#{command.to_command_format}>: " << "<#{raw_response}>" super() end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
38 39 40 |
# File 'lib/groonga/client/error.rb', line 38 def command @command end |
#raw_response ⇒ Object (readonly)
Returns the value of attribute raw_response.
39 40 41 |
# File 'lib/groonga/client/error.rb', line 39 def raw_response @raw_response end |