mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-15 11:36:07 -04:00
It's not a hard-and-fast-rule that Javascript exceptions should be `Error` instances, but it's certainly a convention, and one that is going to reduce surprises if we follow.