Exception: Isolator::Ignorer::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/isolator/ignorer.rb

Instance Method Summary collapse

Constructor Details

#initialize(file_path, klass) ⇒ ParseError

Returns a new instance of ParseError.



7
8
9
10
# File 'lib/isolator/ignorer.rb', line 7

def initialize(file_path, klass)
  @file_path = file_path
  @klass = klass
end

Instance Method Details

#messageObject



12
13
14
# File 'lib/isolator/ignorer.rb', line 12

def message
  "Unable to parse ignore config file #{@file_path}. Expected Hash, got #{@klass}."
end