StringResult
kantan.codecs.strings.StringResult
object StringResult extends WithError[DecodeError]
Attributes
- Graph
-
- Supertypes
-
class WithError[DecodeError]trait WithDefault[DecodeError]trait Simple[DecodeError]trait Simple[DecodeError]class Objecttrait Matchableclass AnyShow all
- Self type
-
StringResult.type
Members list
Value members
Inherited methods
Attempts to evaluate the specified expression.
Turns the specified value into a failure.
Turns an exception into an error.
Turns the specified Try
into a result.
def sequence[S, M <: (IterableOnce)](rs: M[Either[DecodeError, S]])(implicit bf: BuildFrom[M[Either[DecodeError, S]], S, M[S]]): Either[DecodeError, M[S]]
Turns a collection of results into a result of a collection.
Turns the specified value into a success.
In this article