Sha256: 7cc726b3d17b382848c12b7ea73ef31126599fa5e84f9e50cf12affd404919fd

Contents?: true

Size: 371 Bytes

Versions: 20

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module Puppet::Pops::Types
  # Raised when a conversion of a value to another type failed.
  #
  class TypeConversionError < Puppet::Error

    # Creates a new instance with a given message
    #
    # @param message [String] The error message describing what failed
    #
    def initialize(message)
      super(message)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-8.3.0 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.3.0-x86-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.3.0-x64-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.3.0-universal-darwin lib/puppet/pops/types/type_conversion_error.rb
puppet-8.3.1 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.3.1-x86-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.3.1-x64-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.3.1-universal-darwin lib/puppet/pops/types/type_conversion_error.rb
puppet-8.2.0 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.2.0-x86-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.2.0-x64-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.2.0-universal-darwin lib/puppet/pops/types/type_conversion_error.rb
puppet-8.1.0 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.1.0-x86-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.1.0-x64-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.1.0-universal-darwin lib/puppet/pops/types/type_conversion_error.rb
puppet-8.0.1 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.0.1-x86-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.0.1-x64-mingw32 lib/puppet/pops/types/type_conversion_error.rb
puppet-8.0.1-universal-darwin lib/puppet/pops/types/type_conversion_error.rb