Sha256: 5cffe6442ac40f206f0082b0b9bfb3dc7ac138dec0f52a45888676dc20b7ea5d

Contents?: true

Size: 208 Bytes

Versions: 11

Compression:

Stored size: 208 Bytes

Contents

module Dry
  module Protocol
    class DuplicateDefinition < StandardError
      def initialize(suspect)
        super "Duplicate definition of “#{suspect.inspect}” detected."
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dry-behaviour-0.12.1 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.12.0 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.11.2 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.11.1 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.11.0 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.10.4 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.10.3 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.10.2 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.10.1 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.9.0 lib/dry/errors/duplicate_definition.rb
dry-behaviour-0.8.0 lib/dry/errors/duplicate_definition.rb