class Ridley::Errors::FromFileParserError

Public Class Methods

new(filename, error) click to toggle source
Calls superclass method
# 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