Turns the specified value into a failure.
Turns the specified value into a failure.
Turns the specified Either
into a result.
Turns the specified Either
into a result.
Turns the specified Option
into a result.
Turns the specified Option
into a result.
Turns a collection of results into a result of a collection.
Turns a collection of results into a result of a collection.
Turns the specified value into a success.
Turns the specified value into a success.
Provides companion object methods for result types that do not have a sane default error type.
If your specialised result type has a sane default (such as
TypeError
forDecodeResult
in kantan.csv), use WithDefault instead.