Sha256: f114ae822ba23f8686bc2a318ca7edd4788c744eb2adc60afa7443cea5ba6db1

Contents?: true

Size: 185 Bytes

Versions: 20

Compression:

Stored size: 185 Bytes

Contents

module Dry
  module Protocol
    class NotProtocol < StandardError
      def initialize(suspect)
        super "“#{suspect.inspect}” is not a protocol."
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
dry-behaviour-0.12.1 lib/dry/errors/not_protocol.rb
dry-behaviour-0.12.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.11.2 lib/dry/errors/not_protocol.rb
dry-behaviour-0.11.1 lib/dry/errors/not_protocol.rb
dry-behaviour-0.11.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.10.4 lib/dry/errors/not_protocol.rb
dry-behaviour-0.10.3 lib/dry/errors/not_protocol.rb
dry-behaviour-0.10.2 lib/dry/errors/not_protocol.rb
dry-behaviour-0.10.1 lib/dry/errors/not_protocol.rb
dry-behaviour-0.9.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.8.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.7.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.6.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.5.2 lib/dry/errors/not_protocol.rb
dry-behaviour-0.5.1 lib/dry/errors/not_protocol.rb
dry-behaviour-0.5.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.4.2 lib/dry/errors/not_protocol.rb
dry-behaviour-0.4.1 lib/dry/errors/not_protocol.rb
dry-behaviour-0.4.0 lib/dry/errors/not_protocol.rb
dry-behaviour-0.3.1 lib/dry/errors/not_protocol.rb