Package com.skydoves.sandwich.serialization

Functions

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