Package com.skydoves.sandwich.serialization
Functions
Link copied to clipboard
inline fun <T, E> ApiResponse<T>.deserializeErrorBody(json: Json = Json): E?
Content copied to clipboard
Link copied to clipboard
inline fun <T, E> ApiResponse<T>.onErrorDeserialize(json: Json = Json, crossinline onResult: ApiResponse.Failure.Error<T>.(E) -> Unit): ApiResponse<T>
Content copied to clipboard