Exception: Uberinstaller::Exception::WrongVersion

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

Overview

OS version in JSON file different from current OS version ( by codename or number )

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(version) ⇒ WrongVersion

Returns a new instance of WrongVersion.



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

def initialize(version)
  super "Installation file requires a different version. Version required: #{version}"
end