class Puppet::Pops::Evaluator::Runtime3Support::ExceptionRaisingAcceptor
An acceptor of diagnostics that immediately raises an exception.
Public Instance Methods
accept(diagnostic)
click to toggle source
Calls superclass method
Puppet::Pops::Validation::Acceptor#accept
# File lib/puppet/pops/evaluator/runtime3_support.rb 519 def accept(diagnostic) 520 super 521 IssueReporter.assert_and_report(self, { 522 :message => "Evaluation Error:", 523 :emit_warnings => true, # log warnings 524 :exception_class => Puppet::PreformattedError 525 }) 526 if errors? 527 raise ArgumentError, _("Internal Error: Configuration of runtime error handling wrong: should have raised exception") 528 end 529 end