ResponseResult

sealed class ResponseResult<T>

Types

Link copied to clipboard
data class Error(val statusCode: Int, val headers: Map<String, List<String>>, val contentType: String?, val error: TransportError) : ResponseResult<Nothing>
Link copied to clipboard
data class Exception(val cause: Throwable) : ResponseResult<Nothing>
Link copied to clipboard
data class Ok<T>(val statusCode: Int, val headers: Map<String, List<String>>, val contentType: String?, val result: T) : ResponseResult<T>

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard