Exception: Clearly::Query::QueryArgumentError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Clearly::Query::QueryArgumentError
- Defined in:
- lib/clearly/query/errors.rb
Overview
Generic error from Clearly Query
Instance Attribute Summary collapse
-
#filter_segment ⇒ Hash
readonly
Partial filter hash.
Instance Method Summary collapse
-
#initialize(message = nil, filter_segment = nil) ⇒ QueryArgumentError
constructor
Create a Filter Argument Error.
-
#to_s ⇒ String
Show a string representation of this error.
Constructor Details
#initialize(message = nil, filter_segment = nil) ⇒ QueryArgumentError
Create a Filter Argument Error
14 15 16 17 18 |
# File 'lib/clearly/query/errors.rb', line 14 def initialize( = nil, filter_segment = nil) = @filter_segment = filter_segment self end |
Instance Attribute Details
#filter_segment ⇒ Hash (readonly)
Returns partial filter hash.
8 9 10 |
# File 'lib/clearly/query/errors.rb', line 8 def filter_segment @filter_segment end |
Instance Method Details
#to_s ⇒ String
Show a string representation of this error
22 23 24 |
# File 'lib/clearly/query/errors.rb', line 22 def to_s end |