kantan.codecs.ResultCompanion.WithDefault
Provides companion object methods for result types that have a sane default error type.
This default error type is materialised by fromThrowable.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Turns an exception into an error.
Turns an exception into an error.
Attributes
Attempts to evaluate the specified expression.
Attempts to evaluate the specified expression.
Attributes
Turns the specified Try
into a result.
Turns the specified Try
into a result.
Attributes
Turns the specified value into a failure.
Turns the specified value into a failure.
Attributes
-
Inherited from:
-
Simple
Turns a collection of results into a result of a collection.
Turns a collection of results into a result of a collection.
Attributes
-
Inherited from:
-
Simple
Turns the specified value into a success.
Turns the specified value into a success.
Attributes
-
Inherited from:
-
Simple