Enum abstract_manager::error::ManagerError
source · pub enum ManagerError {
Show 25 variants
Std(StdError),
Abstract(AbstractError),
AbstractSdk(AbstractSdkError),
Admin(AdminError),
ModuleAlreadyInstalled(String),
ModuleHasDependents(Vec<String>),
UnexpectedReply(),
InvalidModuleName {},
CallerNotFactory {},
MsgRequired {},
NotUpgradeable(ModuleInfo),
AccountSuspended {},
OlderVersion(String, String),
ModuleNotFound(String),
VersionRequirementNotMet {
module_id: String,
version: String,
comp: String,
post_migration: bool,
},
DependencyNotMet(String, String),
InvalidReference(ModuleInfo),
DescriptionInvalidShort(usize),
DescriptionInvalidLong(usize),
LinkInvalidShort(usize),
LinkInvalidLong(usize),
TitleInvalidShort(usize),
TitleInvalidLong(usize),
CannotRemoveProxy {},
NoUpdates {},
}Variants§
Std(StdError)
Abstract(AbstractError)
AbstractSdk(AbstractSdkError)
Admin(AdminError)
ModuleAlreadyInstalled(String)
ModuleHasDependents(Vec<String>)
UnexpectedReply()
InvalidModuleName
Fields
CallerNotFactory
Fields
MsgRequired
Fields
NotUpgradeable(ModuleInfo)
AccountSuspended
Fields
OlderVersion(String, String)
ModuleNotFound(String)
VersionRequirementNotMet
DependencyNotMet(String, String)
InvalidReference(ModuleInfo)
DescriptionInvalidShort(usize)
DescriptionInvalidLong(usize)
LinkInvalidShort(usize)
LinkInvalidLong(usize)
TitleInvalidShort(usize)
TitleInvalidLong(usize)
CannotRemoveProxy
Fields
NoUpdates
Fields
Trait Implementations§
source§impl Debug for ManagerError
impl Debug for ManagerError
source§impl Display for ManagerError
impl Display for ManagerError
source§impl Error for ManagerError
impl Error for ManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AbstractError> for ManagerError
impl From<AbstractError> for ManagerError
source§fn from(source: AbstractError) -> Self
fn from(source: AbstractError) -> Self
Converts to this type from the input type.
source§impl From<AbstractSdkError> for ManagerError
impl From<AbstractSdkError> for ManagerError
source§fn from(source: AbstractSdkError) -> Self
fn from(source: AbstractSdkError) -> Self
Converts to this type from the input type.
source§impl From<AdminError> for ManagerError
impl From<AdminError> for ManagerError
source§fn from(source: AdminError) -> Self
fn from(source: AdminError) -> Self
Converts to this type from the input type.
source§impl From<StdError> for ManagerError
impl From<StdError> for ManagerError
source§impl PartialEq<ManagerError> for ManagerError
impl PartialEq<ManagerError> for ManagerError
source§fn eq(&self, other: &ManagerError) -> bool
fn eq(&self, other: &ManagerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.