Exception: Flexr::Runtime::StepLimitError

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

Returns a new instance of StepLimitError.



50
51
52
53
# File 'lib/flexr/runtime/errors.rb', line 50

def initialize(**context)
  super("FLEXR-E023", "lexer exceeds max_steps",
        help: "increase max_steps or simplify the specification", **context)
end