# File lib/puppet/util/errors.rb, line 18
18:   def error_context
19:     if file and line
20:       " at #{file}:#{line}"
21:     elsif line
22:       " at line #{line}"
23:     elsif file
24:       " in #{file}"
25:     else
26:       ""
27:     end
28:   end