Exception: Flexr::Runtime::LookaheadTooLargeError
- Inherits:
-
ResourceLimitError
- Object
- StandardError
- Error
- LexError
- ResourceLimitError
- Flexr::Runtime::LookaheadTooLargeError
- Defined in:
- lib/flexr/runtime/errors.rb
Instance Attribute Summary
Attributes inherited from ResourceLimitError
Attributes inherited from LexError
#byte_pos, #filename, #line, #text
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(**context) ⇒ LookaheadTooLargeError
constructor
A new instance of LookaheadTooLargeError.
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 |