Sha256: 8d2d43f1444e11848e60f2254e76857d4616aaed2d3de1407f4f6ba7d75b5c4e

Contents?: true

Size: 727 Bytes

Versions: 5

Compression:

Stored size: 727 Bytes

Contents

Puppet::DataTypes.create_type('Error') do
  interface <<-PUPPET
    type_parameters => {
      kind => Optional[Variant[String,Regexp,Type[Enum],Type[Pattern],Type[NotUndef],Type[Undef]]],
      issue_code => Optional[Variant[String,Regexp,Type[Enum],Type[Pattern],Type[NotUndef],Type[Undef]]]
    },
    attributes => {
      message => String[1],
      kind => { type => Optional[String[1]], value => undef },
      issue_code => { type => Optional[String[1]], value => undef },
      partial_result => { type => Data, value => undef },
      details => { type => Optional[Hash[String[1],Data]], value => undef },
    }
    PUPPET

  require 'puppet/datatypes/impl/error'

  implementation_class Puppet::DataTypes::Error
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bolt-0.16.0 vendored/puppet/lib/puppet/datatypes/error.rb
bolt-0.15.0 vendored/puppet/lib/puppet/datatypes/error.rb
bolt-0.14.0 vendored/puppet/lib/puppet/datatypes/error.rb
bolt-0.13.0 vendored/puppet/lib/puppet/datatypes/error.rb
bolt-0.12.0 vendored/puppet/lib/puppet/datatypes/error.rb