Exception: EasyRedis::FieldNotSearchable
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EasyRedis::FieldNotSearchable
- Defined in:
- lib/easyredis.rb
Overview
exception that indicates that the given field has not been indexed for sorting/searching
Instance Method Summary collapse
-
#initialize(field) ⇒ FieldNotSearchable
constructor
A new instance of FieldNotSearchable.
- #to_s ⇒ Object
Constructor Details
#initialize(field) ⇒ FieldNotSearchable
Returns a new instance of FieldNotSearchable.
86 87 88 |
# File 'lib/easyredis.rb', line 86 def initialize(field) @message = "field '#{field.to_s}' not searchable" end |
Instance Method Details
#to_s ⇒ Object
90 91 92 |
# File 'lib/easyredis.rb', line 90 def to_s @message end |