runWrapped

inline fun <R> runWrapped(block: () -> R): R(source)

Runs the given block, wrapping exceptions as PowerSyncExceptions.