recoverServerExceptionsToResult
inline fun <R, T : R> KrosstalkResult<T>.recoverServerExceptionsToResult(onServerException: (KrosstalkResult.ServerException) -> KrosstalkResult.SuccessOrHttpError<R>): KrosstalkResult.SuccessOrHttpError<R>
Content copied to clipboard
Recover from all server exceptions, converting them to a successful value or a http error.