Class: Safrano::Filter::Parser::ErrorUnmatchedClose

Inherits:
Error
  • Object
show all
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

Methods included from ErrorInstance

#msg, #odata_get

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

http_code

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