mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-04 22:15:44 -04:00
Returning an `napi::Error` doesn't raise it. We must return a `Result<_, napi::Error>` to ensure `napi` will raise the error as expected.