Sha256: 5889e64c0c049b5ed96102369ab70f1cfcb5a18bf090110f0608301d052d3a42

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 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

1 entries across 1 versions & 1 rubygems

Version Path
dry-core-1.1.0 lib/dry/core/errors.rb