(err: &wasmer::RuntimeError)
| 2981 | } |
| 2982 | |
| 2983 | fn runtime_error_exit_code(err: &wasmer::RuntimeError) -> Option<i32> { |
| 2984 | err.downcast_ref::<WasiError>().and_then(|err| match err { |
| 2985 | WasiError::Exit(code) => Some(code.raw()), |
| 2986 | _ => None, |
| 2987 | }) |
| 2988 | } |
| 2989 | |
| 2990 | fn is_wasm_uncaught_exception(err: &wasmer::RuntimeError) -> bool { |
| 2991 | // Wasmer reports an uncaught WebAssembly exception when PostgreSQL ERROR |
no outgoing calls
no test coverage detected