Exception: Flexr::Runtime::StateStackOverflowError

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(message = "state stack exceeds max_state_stack", **context) ⇒ StateStackOverflowError

Returns a new instance of StateStackOverflowError.



64
65
66
# File 'lib/flexr/runtime/errors.rb', line 64

def initialize(message = "state stack exceeds max_state_stack", **context)
  super("FLEXR-E025", message, help: "increase max_state_stack or remove recursive pushes", **context)
end