Exception: Secretary::Error::Parsing
- Inherits:
-
IOError
- Object
- IOError
- Secretary::Error::Parsing
- Defined in:
- lib/secretary/error.rb
Instance Method Summary collapse
-
#initialize(parsing_error, file_type) ⇒ Parsing
constructor
A new instance of Parsing.
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 |