Method: Ridley::Errors::FromFileParserError#initialize
- Defined in:
- lib/ridley/errors.rb
#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.message}" # Populate the backtrace with the actual error though set_backtrace(error.backtrace) end |