Trait kythera_lib::error::WrapFVMError
source · pub trait WrapFVMError<T> {
// Required methods
fn setting_err(self, name: &str) -> Result<T, Error>;
fn validator_err(self, msg: &str) -> Result<T, Error>;
}Expand description
Helper trait for adding custom messages to inner Fvm errors.
Required Methods§
sourcefn setting_err(self, name: &str) -> Result<T, Error>
fn setting_err(self, name: &str) -> Result<T, Error>
Wrap the source Error with an Error::SettingActor.
sourcefn validator_err(self, msg: &str) -> Result<T, Error>
fn validator_err(self, msg: &str) -> Result<T, Error>
Wrap the source Error with an Error::Validator.