class Dry::Types::Constructor::Function::Wrapper

def arity

def arity
  2
end

def call(input, type, &block)

Returns:
  • (Object) -
def call(input, type, &block)
  @fn.(input, type, &block)
rescue ::NoMethodError, ::TypeError, ::ArgumentError => e
  CoercionError.handle(e, &block)
end