onError

inline fun onError(block: ServiceResult<T>.(serviceError: ServiceError) -> Unit): ServiceResult<T>(source)