sealed class SippoService<out V : Any>
A Sippo service. |
sealed class SippoClientError : Exception
Sippo client errors. |
|
sealed class SippoResourceError : Exception
Resource errors. |
fun SippoService<*>.failure(f: (Exception) -> Unit): Unit
Calls the function f with a specific error when Either is failure. |
|
fun <V : Any> SippoService<V>.success(f: (V) -> Unit): Unit
Calls the function f with a specific value when SippoService is successful. |