Exception: Flexr::Runtime::CancelledError

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

Returns a new instance of CancelledError.



70
71
72
# File 'lib/flexr/runtime/errors.rb', line 70

def initialize(**context)
  super("FLEXR-E026", "lexing was cancelled", help: "resume with a new lexer when ready", **context)
end