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:



320
321
322
# File 'lib/puppet/parser/functions.rb', line 320

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