I’m calling a suspend function from iOS part, and ...
# multiplatform
p
I’m calling a suspend function from iOS part, and I’d like to pass a CancellationException, or, in general, to be able to get an error code from kotlin part, is there a way to do that? I noticed that NSError gets wrapped in ObjCErrorException, but the val is internal so I can’t use it, and the only way I. can think of is to parse the message string.