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
Right now the codebase are full of unwrap of option and error. This will cause Rust to panic which is an undesirable behaviour. In Rust, panics are generally reserved for unrecoverable error. A suggestion is to have a result framework in place to better catch error.
Right now the codebase are full of unwrap of option and error. This will cause Rust to panic which is an undesirable behaviour. In Rust, panics are generally reserved for unrecoverable error. A suggestion is to have a result framework in place to better catch error.
We can either build a few simple error system then use std::Error or utilizing library such as https://docs.rs/anyhow/latest/anyhow/
The text was updated successfully, but these errors were encountered: