Exception: Shiba::Parsers::BadParse
- Inherits:
-
StandardError
- Object
- StandardError
- Shiba::Parsers::BadParse
- Defined in:
- lib/shiba/parsers/bad_parse.rb
Instance Method Summary collapse
-
#initialize(location, parse_string) ⇒ BadParse
constructor
A new instance of BadParse.
Constructor Details
#initialize(location, parse_string) ⇒ BadParse
Returns a new instance of BadParse.
4 5 6 |
# File 'lib/shiba/parsers/bad_parse.rb', line 4 def initialize(location, parse_string) super("Parse Error @ '#{location}' while parsing '#{parse_string}'") end |