class Puppet::ErrorWithData

An Error suitable for raising an error with details in a Puppet::Datatypes::Error that can be used as a value in the Puppet Language

Attributes

error_data[R]

Public Class Methods

new(error_data, message, file: nil, line: nil, pos: nil, original:nil) click to toggle source
Calls superclass method Puppet::ExternalFileError::new
    # File lib/puppet/error.rb
133 def initialize(error_data, message, file: nil, line: nil, pos: nil, original:nil)
134   super(message, file, line, pos, original)
135   @error_data = error_data
136 end