Exception: Droonga::Searcher::InvalidAttribute
- Inherits:
-
ErrorMessages::BadRequest
- Object
- StandardError
- Error
- ErrorMessage
- ErrorMessages::BadRequest
- Droonga::Searcher::InvalidAttribute
- Defined in:
- lib/droonga/searcher.rb
Constant Summary
Constants inherited from ErrorMessages::BadRequest
ErrorMessages::BadRequest::STATUS_CODE
Constants inherited from ErrorMessage
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
Attributes inherited from ErrorMessage
Instance Method Summary collapse
-
#initialize(attribute) ⇒ InvalidAttribute
constructor
A new instance of InvalidAttribute.
Methods inherited from ErrorMessage
#name, #response_body, #status_code
Constructor Details
#initialize(attribute) ⇒ InvalidAttribute
Returns a new instance of InvalidAttribute.
58 59 60 61 62 63 |
# File 'lib/droonga/searcher.rb', line 58 def initialize(attribute) detail = { "attribute" => attribute, } super("Invalid attribute: <#{attribute}>", detail) end |
Instance Attribute Details
#attribute ⇒ Object (readonly)
Returns the value of attribute attribute.
57 58 59 |
# File 'lib/droonga/searcher.rb', line 57 def attribute @attribute end |