Companion

Functions

Link copied to clipboard
fun <T> failure(code: Int, message: String): KeelResponse<T>

Create a failure response.

Link copied to clipboard
fun <T> success(data: T? = null, message: String = "success"): KeelResponse<T>

Create a successful response.