We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
//tvlib/org.mjdev.tvlib.extensions/ApiResponseExt/safeFlow
[androidJvm] fun <T> ApiResponse<T>.safeFlow(error: (Exception) -> Unit = { exception -> Timber.e(exception) }, onError: (error: ApiResponse.Failure.Error) -> Unit = { e -> error(CodeException(e.message())) }): Flow<T>