Exception: Droonga::GroongaHandler::Command::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- Droonga::GroongaHandler::Command::CommandError
- Defined in:
- lib/droonga/plugin/handler/groonga.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(params = {}) ⇒ CommandError
Returns a new instance of CommandError.
67 68 69 70 71 |
# File 'lib/droonga/plugin/handler/groonga.rb', line 67 def initialize(params={}) @status = params[:status] = params[:message] @result = params[:result] end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
65 66 67 |
# File 'lib/droonga/plugin/handler/groonga.rb', line 65 def end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
65 66 67 |
# File 'lib/droonga/plugin/handler/groonga.rb', line 65 def result @result end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
65 66 67 |
# File 'lib/droonga/plugin/handler/groonga.rb', line 65 def status @status end |