# File lib/puppet/util/errors.rb, line 51 51: def fail(*args) 52: if args[0].is_a?(Class) 53: type = args.shift 54: else 55: type = Puppet::Error 56: end 57: 58: error = adderrorcontext(type.new(args.join(" "))) 59: 60: raise error 61: end