refactor: Use snafu

This should gradtly improve the debugging experience by allowing
tracking backtraces to get more context from the error.
A lot of the touced files here are just cleaning up the old way of
creating errors.
This commit is contained in:
Jade Ellis
2026-02-06 01:01:39 +00:00
parent 688ef727e5
commit 7a8c409ff9
51 changed files with 907 additions and 391 deletions
+2
View File
@@ -14,9 +14,11 @@ pub mod utils;
pub use ::arrayvec;
pub use ::http;
pub use ::paste;
pub use ::ruma;
pub use ::smallstr;
pub use ::smallvec;
pub use ::snafu;
pub use ::toml;
pub use ::tracing;
pub use config::Config;