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
I think using anyhow and/or thiserror might be beneficial, something like this:
#[derive(Debug,Error)]pubenumError{#[error("Some defined error: {0}")]DefinedErrorName(Box<dyn std::error::Error>),#[error("There was an unexpected error: {0}")]Other(Box<dyn std::error::Error>),}
I should also remove some of the unsafe/unchecked unwraps in the code
The text was updated successfully, but these errors were encountered:
I think using
anyhow
and/orthiserror
might be beneficial, something like this:I should also remove some of the unsafe/unchecked unwraps in the code
The text was updated successfully, but these errors were encountered: