Sha256: ea2196b9374ba1c4838d02aed178048e45cebc2079bb4f918a4b341f91faef2f

Contents?: true

Size: 283 Bytes

Versions: 5

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dry-core-1.0.2 lib/dry/core/errors.rb
dry-core-1.0.1 lib/dry/core/errors.rb
dry-core-1.0.0 lib/dry/core/errors.rb
dry-core-0.9.1 lib/dry/core/errors.rb
dry-core-0.9.0 lib/dry/core/errors.rb