← Vulnerabilities

ReleaseKotlinJava

Signatures, be true: domain errors and functional handling in Kotlin

Here’s a function that signs a document: In Kotlin, Unit means the function completes without returning a meaningful value – roughly equivalent to void in Java. Got it? Now, tell me what could go wrong. You can’t. Yet, the code might be invalid. The signing window might have closed. The database might be down. The…

Read on Kotlin Blog

On 08/20/2026, 12:52 AM, Kotlin Blog published "Signatures, be true: domain errors and functional handling in Kotlin" (type: Release). Related technologies: Kotlin, Java.