Exception: Flexr::Runtime::NonProgressError

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) ⇒ NonProgressError

Returns a new instance of NonProgressError.



36
37
38
39
# File 'lib/flexr/runtime/errors.rb', line 36

def initialize(**context)
  super("FLEXR-E021", "lexer action did not make progress",
        help: "consume input or change to a state that can consume it", **context)
end