Exception: EasyRedis::FieldNotSortable
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EasyRedis::FieldNotSortable
- 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) ⇒ FieldNotSortable
constructor
A new instance of FieldNotSortable.
- #to_s ⇒ Object
Constructor Details
#initialize(field) ⇒ FieldNotSortable
Returns a new instance of FieldNotSortable.
75 76 77 |
# File 'lib/easyredis.rb', line 75 def initialize(field) @message = "field '#{field.to_s}' not sortable" end |
Instance Method Details
#to_s ⇒ Object
79 80 81 |
# File 'lib/easyredis.rb', line 79 def to_s @message end |