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:



307
308
309
# File 'lib/puppet/parser/functions.rb', line 307

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