Sha256: 4ec69d36d858973cc32f57328ccf106d094d1a02bce65ff6a791528a5189ad6a

Contents?: true

Size: 278 Bytes

Versions: 10

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

module Dry
  module Core
    class InvalidClassAttributeValue < StandardError
      def initialize(name, value)
        super(
          "Value #{value.inspect} is invalid for class attribute #{name.inspect}"
        )
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
dry-core-0.8.1 lib/dry/core/errors.rb
dry-core-0.8.0 lib/dry/core/errors.rb
dry-core-0.7.1 lib/dry/core/errors.rb
dry-core-0.7.0 lib/dry/core/errors.rb
dry-core-0.6.0 lib/dry/core/errors.rb
dry-core-0.5.0 lib/dry/core/errors.rb
dry-core-0.4.10 lib/dry/core/errors.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/dry-core-0.4.9/lib/dry/core/errors.rb
dry-core-0.4.9 lib/dry/core/errors.rb
dry-core-0.4.8 lib/dry/core/errors.rb