Companion

object Companion

Functions

failure
Link copied to clipboard
inline fun <E : Enum<E>> failure(exception: Exception? = null, error: E? = null, message: String? = null): ServiceResult<Any, E>
noResult
Link copied to clipboard
inline fun noResult(): ServiceResult<Any, Any>
success
Link copied to clipboard
inline fun <R : ServiceResult.Data> success(result: R): ServiceResult<R, Any>