Exception: Uberinstaller::Exception::JsonParseError

Inherits:
Exception
  • Object
show all
Defined in:
lib/uberinstaller/exceptions/json_parse_error.rb

Overview

Error when parsing JSON file

Instance Attribute Summary

Attributes inherited from Exception

#parent

Instance Method Summary collapse

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