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:


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

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