Trait manyhow::JoinToTokensError
source · pub trait JoinToTokensError {
// Required method
fn join(self, error: impl ToTokensError + 'static) -> Error;
}
Expand description
Allows to call .join(..)
on any impl ToTokensError
Required Methods§
sourcefn join(self, error: impl ToTokensError + 'static) -> Error
fn join(self, error: impl ToTokensError + 'static) -> Error
Joins two Error
s
use manyhow::error_message;
error_message!("test").join(error_message!("another"));
Object Safety§
This trait is not object safe.