Exception: Yoga::InvalidShiftError Private
- Inherits:
-
ParseError
- Object
- StandardError
- Error
- LocationError
- ParseError
- Yoga::InvalidShiftError
- Defined in:
- lib/yoga/errors.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A shift was requested, but was invalid.
Instance Attribute Summary
Attributes inherited from LocationError
Instance Method Summary collapse
-
#generate_message ⇒ ::String
private
Generates a message for the exception.
Methods inherited from Error
Constructor Details
This class inherits a constructor from Yoga::Error
Instance Method Details
#generate_message ⇒ ::String (private)
Generates a message for the exception.
72 73 74 |
# File 'lib/yoga/errors.rb', line 72 private def "Parser shifted, but no tokens remain at #{@location}" end |