Exception: Ridley::Errors::FromFileParserError
- Inherits:
-
RidleyError
- Object
- StandardError
- RidleyError
- Ridley::Errors::FromFileParserError
- Defined in:
- lib/ridley/errors.rb
Instance Method Summary collapse
-
#initialize(filename, error) ⇒ FromFileParserError
constructor
A new instance of FromFileParserError.
Constructor Details
#initialize(filename, error) ⇒ FromFileParserError
Returns a new instance of FromFileParserError.
47 48 49 50 51 52 |
# File 'lib/ridley/errors.rb', line 47 def initialize(filename, error) super "Could not parse `#{filename}': #{error.}" # Populate the backtrace with the actual error though set_backtrace(error.backtrace) end |