Sha256: 508c93fd92ca8c02bf00a41ac691acdc0b69f7d56d648de3b5f93a0e2ad0c7cd

Contents?: true

Size: 262 Bytes

Versions: 16

Compression:

Stored size: 262 Bytes

Contents

module Dry
  module Guards
    class NotMatched < StandardError
      def initialize(*args, **params, &cb)
        super "Clause not matched. Parameters supplied: [args: #{args.inspect}, params: #{params.inspect}, cb: #{cb.inspect}]"
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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