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 134 def initialize(error_data, message, file: nil, line: nil, pos: nil, original:nil) 135 super(message, file, line, pos, original) 136 @error_data = error_data 137 end