class Dry::Types::Constrained
def call(input)
-
(ConstraintError)
-
Returns:
-
(Object)
-
Parameters:
-
input
(Object
) --
def call(input) try(input) do |result| raise ConstraintError.new(result, input) end.input end
(ConstraintError)
-
(Object)
-
input
(Object
)
--
def call(input) try(input) do |result| raise ConstraintError.new(result, input) end.input end