runWrapped

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

Runs the given block, wrapping exceptions as PowerSyncExceptions.