class Dry::Types::Constructor::Function::Safe
@api private
Wrapper for unsafe coercion functions
def call(input, &)
def call(input, &) @fn.(input) rescue ::NoMethodError, ::TypeError, ::ArgumentError => e CoercionError.handle(e, &) end
@api private
Wrapper for unsafe coercion functions
def call(input, &) @fn.(input) rescue ::NoMethodError, ::TypeError, ::ArgumentError => e CoercionError.handle(e, &) end