Exception: Uberinstaller::Exception::JsonParseError
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- Uberinstaller::Exception::JsonParseError
- Defined in:
- lib/uberinstaller/exceptions/json_parse_error.rb
Overview
Error when parsing JSON file
Instance Attribute Summary
Attributes inherited from Exception
Instance Method Summary collapse
-
#initialize(file) ⇒ JsonParseError
constructor
A new instance of JsonParseError.
Methods included from Loggable
configure_logger_for, #logger, logger_for
Constructor Details
#initialize(file) ⇒ JsonParseError
Returns a new instance of JsonParseError.
8 9 10 |
# File 'lib/uberinstaller/exceptions/json_parse_error.rb', line 8 def initialize(file) super "#{file} cannot be parsed as is not valid JSON" end |