Class: Safrano::Filter::Parser::ErrorUnmatchedClose
- Includes:
- ErrorInstance
- Defined in:
- lib/odata/filter/error.rb
Overview
Unmached closed
Constant Summary
Constants inherited from Error
Safrano::Filter::Parser::Error::HTTP_CODE
Instance Attribute Summary
Attributes inherited from Error
#cur_typ, #cur_val, #tok, #typ
Instance Method Summary collapse
-
#initialize(tok, typ, cur) ⇒ ErrorUnmatchedClose
constructor
A new instance of ErrorUnmatchedClose.
Methods included from ErrorInstance
Methods included from Contract::Invalid
#collect_result!, #error, #if_error, #if_valid, #if_valid_collect, #map_result!, #result, #tap_error, #tap_valid
Methods inherited from Error
Constructor Details
#initialize(tok, typ, cur) ⇒ ErrorUnmatchedClose
Returns a new instance of ErrorUnmatchedClose.
51 52 53 54 |
# File 'lib/odata/filter/error.rb', line 51 def initialize(tok, typ, cur) super @msg = "Bad Request: unmatched #{tok} in $filter" end |