Method: Puppet::ExternalFileError#to_s
- Defined in:
- lib/puppet/error.rb
#to_s ⇒ Object
39 40 41 42 43 44 |
# File 'lib/puppet/error.rb', line 39 def to_s msg = super @file = nil if (@file.is_a?(String) && @file.empty?) msg += Puppet::Util::Errors.error_location_with_space(@file, @line, @pos) msg end |