Exception: StoreHours::SemanticError
- Inherits:
-
StandardError
- Object
- StandardError
- StoreHours::SemanticError
- Defined in:
- lib/store_hours/semantic_error.rb
Overview
When parslet apply the TreeTransformer to the intermediary tree generated by parser, it may raise this exception if the input is valid syntax-wise but contains errors.
Possible scenarios to cause this exception are defined in tree_transformer.rb.
Instance Method Summary collapse
-
#initialize(message) ⇒ SemanticError
constructor
A new instance of SemanticError.
Constructor Details
#initialize(message) ⇒ SemanticError
Returns a new instance of SemanticError.
8 9 10 |
# File 'lib/store_hours/semantic_error.rb', line 8 def initialize() super() end |