# File lib/puppet/module_tool/errors/upgrader.rb, line 55 def multiline message = [] message << "Could not #{@action} module '#{@module_name}' (#{vstring})" message << " Downgrading is not allowed." message.join("\n") end
# File lib/puppet/module_tool/errors/upgrader.rb, line 45 def initialize(options) @module_name = options[:module_name] @requested_version = options[:requested_version] @installed_version = options[:installed_version] @conditions = options[:conditions] @action = options[:action] super "Could not #{@action} '#{@module_name}' (#{vstring}); downgrades are not allowed" end