Exception: Uberinstaller::Exception::InvalidJson

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

Overview

When package with :type => :git :url attribute does not respond 200 http status on check

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(name) ⇒ InvalidJson

Returns a new instance of InvalidJson.



8
9
10
# File 'lib/uberinstaller/exceptions/invalid_json.rb', line 8

def initialize(name)
  super "#{name} :json seems to not be a valid string, please check", false
end