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
#[derive(Debug, thiserror::Error)]pubenumParseError{#[error("Not enough operands")]NotEnoughOperands,#[error("Not a number {0}")]NotANumber(String),}#[derive(Debug, thiserror::Error)]pubenumCalcError{#[error("{0}")]ParseError(#[from]ParseError),#[error("{0}")]EvalError(#[from]EvalError),}
show the IDE "expand macro recursively" and "implement all fields"
The text was updated successfully, but these errors were encountered:
and using the
?
to get the neat UXcc @listochkin , who we were talking about this
thiserror
crate usage:The text was updated successfully, but these errors were encountered: