WrappedResult

@Serializable
sealed class WrappedResult<out T>

Serializable response for passing around processes (mainly activity).

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
data class Failure(val code: Int, val message: String, val contextual: String? = null, val extra: Map<String, String>? = null) : WrappedResult<Nothing>
Link copied to clipboard
@Serializable
data class Success<T>(val value: T) : WrappedResult<T>