Exception: Trope::Parser::Error
- Extended by:
- Forwardable
- Defined in:
- lib/trope/parser/error.rb
Overview
The base class for Trope::Parser errors.
Instance Method Summary collapse
-
#initialize(language_parser) ⇒ Error
constructor
A new instance of Error.
- #to_s ⇒ String
Constructor Details
Instance Method Details
#to_s ⇒ String
24 25 26 |
# File 'lib/trope/parser/error.rb', line 24 def to_s reason || "Invalid - column #{column}, line #{line}" end |