You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let mut executionctxs = WASM_RUNTIME_EXECUTIONCTXS.write().map_err(|e| format!("error: {:?}", e))?;
This is just if we keep Result<String, String>, that I think we should change to Result<String, ErrorTypes>, so that consumers don't need to process strings in errors, but can use a specific type such an enum providing better error feedback.
Is your feature request related to a problem? Please describe.
Currently, if a lock is poisoned on the Rust side, the code will panic.
We might want to improve this behavior by returning an error.
See the original discussion at #41 (comment)
Since there is some literature written and different options about how to deal with poisoned locks, I'm opening this issue for an open discussion.
Describe the solution you'd like
@ereslibre suggested:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: