# File lib/puppet/util/errors.rb, line 42 42: def fail(*args) 43: if args[0].is_a?(Class) 44: type = args.shift 45: else 46: type = Puppet::Error 47: end 48: 49: error = adderrorcontext(type.new(args.join(" "))) 50: 51: raise error 52: end