Exception: Puppet::Util::Package::Version::Pip::ValidationFailure Private

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/puppet/util/package/version/pip.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ ValidationFailure

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ValidationFailure.


162
163
164
# File 'lib/puppet/util/package/version/pip.rb', line 162

def initialize(version)
  super("#{version} is not a valid python package version. Please refer to https://www.python.org/dev/peps/pep-0440/.")
end