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:

  • message used in raised error

Raises:

  • always raised with the supplied message

API:

  • public



12
13
14
# File 'lib/puppet/util/errors.rb', line 12

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