Method: Puppet::Util::Errors#devfail

Defined in:
lib/puppet/util/errors.rb

#devfail(msg) ⇒ Object

Throw a Puppet::DevError with the specified message. Used for unknown or internal application failures.

Parameters:

  • msg (String)

    message used in raised error

Raises:



10
11
12
# File 'lib/puppet/util/errors.rb', line 10

def devfail(msg)
  self.fail(Puppet::DevError, msg)
end