Sha256: 22f5908f3cc94218b9bb1b2b41c67fd56109846d30f36ba25f0af4580fb1aff0

Contents?: true

Size: 184 Bytes

Versions: 14

Compression:

Stored size: 184 Bytes

Contents

class Dry::Initializer::Errors::TypeConstraintError < TypeError
  def initialize(name, type)
    super "#{type} used as constraint for argument '#{name}' is not a dry-type."
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dry-initializer-0.11.0 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.10.2 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.10.1 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.10.0 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.9.3 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.9.2 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.9.1 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.9.0 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.8.1 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.8.0 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.7.0 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.6.0 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.5.0 lib/dry/initializer/errors/type_constraint_error.rb
dry-initializer-0.4.0 lib/dry/initializer/errors/type_constraint_error.rb