Exception: Secretary::Error::Parsing

Inherits:
IOError
  • Object
show all
Defined in:
lib/secretary/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(parsing_error, file_type) ⇒ Parsing

Returns a new instance of Parsing.



17
18
19
# File 'lib/secretary/error.rb', line 17

def initialize(parsing_error, file_type)
  super "attempted to parse an invalid #{file_type} file (#{parsing_error})"
end