Class: Puppet::Parser::Functions::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/parser/functions.rb

Class Method Summary collapse

Class Method Details

.is4x(name) ⇒ Object

Raises:



274
275
276
# File 'lib/puppet/parser/functions.rb', line 274

def self.is4x(name)
  raise Puppet::ParseError, _("%{name}() can only be called using the 4.x function API. See Scope#call_function") % { name: name }
end