(err: &wasmer::RuntimeError)
| 2988 | } |
| 2989 | |
| 2990 | fn is_wasm_uncaught_exception(err: &wasmer::RuntimeError) -> bool { |
| 2991 | // Wasmer reports an uncaught WebAssembly exception when PostgreSQL ERROR |
| 2992 | // unwinds across the exported loop boundary. The C recovery export then |
| 2993 | // performs the normal Postgres error cleanup and emits ErrorResponse. |
| 2994 | err.message().contains("uncaught exception") |
| 2995 | } |
| 2996 | |
| 2997 | fn host_requires_process_exit_error_recovery() -> bool { |
| 2998 | // Wasmer does not implement nested WebAssembly exception throws on MSVC |
no outgoing calls
no test coverage detected