SafeWrapper

interface SafeWrapper<T>(source)

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Default<T>(t: T) : SafeWrapper<T>

Functions

Link copied to clipboard
open fun <R> safe(block: T.() -> R): Result<R>
Link copied to clipboard
open suspend fun <R> safeS(block: suspend T.() -> R): Result<R>
Link copied to clipboard
open fun <R> unsafe(block: T.() -> R): R
Link copied to clipboard
open suspend fun <R> unsafeS(block: suspend T.() -> R): R
Link copied to clipboard
abstract fun unsafeTarget(): T