Exception: Flexr::Runtime::LookaheadTooLargeError

Inherits:
ResourceLimitError show all
Defined in:
lib/flexr/runtime/errors.rb

Instance Attribute Summary

Attributes inherited from ResourceLimitError

#code, #rule

Attributes inherited from LexError

#byte_pos, #filename, #line, #text

Attributes inherited from Error

#diagnostic

Instance Method Summary collapse

Constructor Details

#initialize(**context) ⇒ LookaheadTooLargeError

Returns a new instance of LookaheadTooLargeError.



57
58
59
60
# File 'lib/flexr/runtime/errors.rb', line 57

def initialize(**context)
  super("FLEXR-E024", "trailing context exceeds max_lookahead_size",
        help: "increase max_lookahead_size or bound the trailing context", **context)
end