Retrieve failures (left) for several Either values
Retrieve failures (left) for several Either values
failures
Return Either from code block with custom error management
Return Either from code block with custom error management
: error management function
Either from code block
Return Either from code block
Return Either from code block
Either from code block
Tells if eithers contain failures (left)
Tells if eithers contain failures (left)
boolean
Tells if eithers contain successes (right)
Tells if eithers contain successes (right)
boolean
Run the validation This validation accumulates all errors Arity 2 to 22 methods are available and generated from macro
Run the validation This validation accumulates all errors Arity 2 to 22 methods are available and generated from macro
: first either
: second either
: third either
a tuple (R1, R2, R3) of results in a Right if validation is successful or a list of errors L if it fails
Run the validation This validation accumulates all errors Arity 2 to 22 methods are available and generated from macro
Run the validation This validation accumulates all errors Arity 2 to 22 methods are available and generated from macro
: first either
: second either
a tuple (R1, R2) of results in a Right if validation is successful or a list of errors L if it fails
Return successes (right) for several Either values Validation.run should be used instead in most cases as it is a type-safer method (it does not return a List[Any])
Return successes (right) for several Either values Validation.run should be used instead in most cases as it is a type-safer method (it does not return a List[Any])
successes