Exception: SFRP::Input::ParseError
- Inherits:
-
CompileError
- Object
- StandardError
- CompileError
- SFRP::Input::ParseError
- Defined in:
- lib/sfrp/input/exception.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ ParseError
constructor
A new instance of ParseError.
- #message ⇒ Object
Constructor Details
#initialize(message) ⇒ ParseError
Returns a new instance of ParseError.
6 7 8 |
# File 'lib/sfrp/input/exception.rb', line 6 def initialize() @message = end |
Instance Method Details
#message ⇒ Object
10 11 12 13 |
# File 'lib/sfrp/input/exception.rb', line 10 def "Syntax error. The raw error message from Parslet is as follows:\n" + @message end |