Sha256: 0189e67712b7abc3862bd6f86992b6df42dd39e7d3e1312006488ccd0abe9de8

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

# frozen_string_literal: true

class BCDD::Result
  class CallableAndThen::Error < Error
    class InvalidArity < self
      def self.build(source:, method:, arity:)
        new("Invalid arity for #{source.class}##{method} method. Expected arity: #{arity}")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bcdd-result-1.1.0 lib/bcdd/result/callable_and_then/error.rb
bcdd-result-1.0.0 lib/bcdd/result/callable_and_then/error.rb
bcdd-result-0.13.0 lib/bcdd/result/callable_and_then/error.rb
bcdd-result-0.12.0 lib/bcdd/result/callable_and_then/error.rb