Exception: Yoga::UnexpectedCharacterError Private
- Inherits:
-
LocationError
- Object
- StandardError
- Error
- LocationError
- Yoga::UnexpectedCharacterError
- 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.
An unexpected character was encountered while scanning.
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.
46 47 48 |
# File 'lib/yoga/errors.rb', line 46 private def "An unexpected character was encountered at #{@location}" end |