Sha256: db5b9d3c1d0b2aff4533295ca96d8c5a5b3f3a601b8fe3e54844b9980a4a1d20

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

module Ruby
  module Enum
    module Errors
      # Error raised when a duplicate enum value is found
      class DuplicateValueError < Base
        def initialize(attrs)
          super(compose_message('duplicate_value', attrs))
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ruby-enum-1.0.0 lib/ruby-enum/errors/duplicate_value_error.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/ruby-enum-0.9.0/lib/ruby-enum/errors/duplicate_value_error.rb
ruby-enum-0.9.0 lib/ruby-enum/errors/duplicate_value_error.rb
ruby-enum-0.8.0 lib/ruby-enum/errors/duplicate_value_error.rb