kotlin-desktop-toolkit/src/main/kotlin/org/jetbrains/desktop/macos/Logger.kt [223:241]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - throw NativeError(exceptions) } return result } internal inline fun ffiUpCall(crossinline body: () -> Unit) { return try { body() } catch (e: Throwable) { Logger.error(e) { "Exception caught" } } } internal inline fun ffiUpCall(defaultResult: T, crossinline body: () -> T): T { return try { body() } catch (e: Throwable) { Logger.error(e) { "Exception caught" } defaultResult - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - kotlin-desktop-toolkit/src/main/kotlin/org/jetbrains/desktop/win32/Logger.kt [223:241]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - throw NativeError(exceptions) } return result } internal inline fun ffiUpCall(crossinline body: () -> Unit) { return try { body() } catch (e: Throwable) { Logger.error(e) { "Exception caught" } } } internal inline fun ffiUpCall(defaultResult: T, crossinline body: () -> T): T { return try { body() } catch (e: Throwable) { Logger.error(e) { "Exception caught" } defaultResult - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -