Class: Groonga::Client::Response::Error

Inherits:
Base
  • Object
show all
Defined in:
lib/groonga/client/response/error.rb

Instance Attribute Summary

Attributes inherited from Base

#body, #command, #header, #raw

Instance Method Summary collapse

Methods inherited from Base

#elapsed_time, #error_message, #initialize, parse, #return_code, #start_time, #status_code, #success?

Constructor Details

This class inherits a constructor from Groonga::Client::Response::Base

Instance Method Details

#messageString

Returns The error message of the error response.

Returns:

  • (String)

    The error message of the error response.

Since:

  • 0.1.0



25
26
27
# File 'lib/groonga/client/response/error.rb', line 25

def message
  (header || [0, 0, 0.0, ""])[3]
end