George
orThrow
private val CspAccount.retrieveAuthenticatedDevice: CspDevice get() = this.authenticatedDevice.getOrElse { throw WebApplicationException( "Authenticated device for account: ${this.number} was not found", Response.Status.UNAUTHORIZED ) }
mbonnin
account.authenticatedDeviceOrThrow
Starr
Giorgos Makris
Result<CspDevice>
Klitos Kyriacou
Map.getValue()
getValue
fun <K, V> Map<K, V>.getValue(key: K): V
A modern programming language that makes developers happier.