https://kotlinlang.org logo
#coroutines
Title
# coroutines
e

Edoardo Luppi

03/31/2024, 4:18 PM
I was looking at the usages of
IllegalStateException
and
error("...")
in the library, just to understand if there is a consensus in the official Kotlin libraries that I can use for my own libraries. However, I see both are used. So I suppose it's a random decision at coding time.
l

louiscad

04/01/2024, 4:48 PM
It's always
Random.nextBoolean()
(it's not)
🤣 1