Exception: Shiba::Parsers::BadParse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/shiba/parsers/bad_parse.rb

Instance Method Summary collapse

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