Try
Types
Properties
Functions
Link copied to clipboard
Returns value in case of success and throws an IllegalStateException in case of failure.
Link copied to clipboard
inline suspend fun <R> Try<ByteArray, ReadError>.decodeOrElse(decode: (value: ByteArray) -> Try<R, DecodeError>, recover: (DecodeError.Decoding) -> R): Try<R, ReadError>
Link copied to clipboard
inline suspend fun <R> Try<ByteArray, ReadError>.decodeOrNull(decode: (value: ByteArray) -> Try<R, DecodeError>): R?
Link copied to clipboard
Returns the encapsulated Throwable exception if this instance represents failure or null if it is success.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard