Exception: EasyRedis::FieldNotTextSearchable
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EasyRedis::FieldNotTextSearchable
- Defined in:
- lib/easyredis.rb
Overview
exception that indicates that the given field has not been indexed for text-searching
Instance Method Summary collapse
-
#initialize(field) ⇒ FieldNotTextSearchable
constructor
A new instance of FieldNotTextSearchable.
- #to_s ⇒ Object
Constructor Details
#initialize(field) ⇒ FieldNotTextSearchable
Returns a new instance of FieldNotTextSearchable.
77 78 79 |
# File 'lib/easyredis.rb', line 77 def initialize(field) @message = "field '#{field.to_s}' not text-searchable" end |
Instance Method Details
#to_s ⇒ Object
81 82 83 |
# File 'lib/easyredis.rb', line 81 def to_s @message end |