i’m not sure it’s what it’s meant in the documenta...
# announcements
n
i’m not sure it’s what it’s meant in the documentation it’s just like in java if you want to throw an exception using
throw
, the object needs to be a subclass of
Throwable
but inheriting directly from
Throwable
is not a good idea so same with kotlin