pub enum ManagerError {
Show 35 variants
Std(StdError),
Abstract(AbstractError),
AbstractSdk(AbstractSdkError),
Validation(ValidationError),
Ownership(GovOwnershipError),
Instantiate2AddressError(Instantiate2AddressError),
VersionControlError(VersionControlError),
ModuleAlreadyInstalled(String),
ModuleHasDependents(Vec<String>),
UnexpectedReply(),
InvalidModuleName {},
CallerNotModuleFactory {},
MsgRequired {},
NotUpgradeable(ModuleInfo),
DuplicateModuleMigration {
module_id: String,
},
AccountSuspended {},
OlderVersion(String, String),
ModuleNotFound(String),
ModuleNotInstallable(String),
VersionRequirementNotMet {
module_id: String,
version: String,
comp: String,
post_migration: bool,
},
DependencyNotMet(String, String),
InvalidReference(ModuleInfo),
CannotRemoveProxy {},
NoUpdates {},
InvalidConfigAction {
error: StdError,
},
MustUseProposeOwner {},
NoContractOwner(String),
SubAccountAdminVerification,
SubAccountRemovalFailed {},
SubAccountRegisterFailed {},
RenounceWithSubAccount {},
ProposeRenounced {},
InitRenounced {},
ProhibitedReinstall {},
QueryModulesFailed {
error: VersionControlError,
},
}Variants§
Std(StdError)
Abstract(AbstractError)
AbstractSdk(AbstractSdkError)
Validation(ValidationError)
Ownership(GovOwnershipError)
Instantiate2AddressError(Instantiate2AddressError)
VersionControlError(VersionControlError)
ModuleAlreadyInstalled(String)
ModuleHasDependents(Vec<String>)
UnexpectedReply()
InvalidModuleName
CallerNotModuleFactory
MsgRequired
NotUpgradeable(ModuleInfo)
DuplicateModuleMigration
AccountSuspended
OlderVersion(String, String)
ModuleNotFound(String)
ModuleNotInstallable(String)
VersionRequirementNotMet
DependencyNotMet(String, String)
InvalidReference(ModuleInfo)
CannotRemoveProxy
NoUpdates
InvalidConfigAction
MustUseProposeOwner
NoContractOwner(String)
SubAccountAdminVerification
SubAccountRemovalFailed
SubAccountRegisterFailed
RenounceWithSubAccount
ProposeRenounced
InitRenounced
ProhibitedReinstall
QueryModulesFailed
Fields
§
error: VersionControlErrorTrait 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)>
Returns 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<GovOwnershipError> for ManagerError
impl From<GovOwnershipError> for ManagerError
Source§fn from(source: GovOwnershipError) -> Self
fn from(source: GovOwnershipError) -> Self
Converts to this type from the input type.
Source§impl From<Instantiate2AddressError> for ManagerError
impl From<Instantiate2AddressError> for ManagerError
Source§fn from(source: Instantiate2AddressError) -> Self
fn from(source: Instantiate2AddressError) -> Self
Converts to this type from the input type.
Source§impl From<StdError> for ManagerError
impl From<StdError> for ManagerError
Source§impl From<ValidationError> for ManagerError
impl From<ValidationError> for ManagerError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Source§impl From<VersionControlError> for ManagerError
impl From<VersionControlError> for ManagerError
Source§fn from(source: VersionControlError) -> Self
fn from(source: VersionControlError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ManagerError
impl PartialEq for ManagerError
impl StructuralPartialEq for ManagerError
Auto Trait Implementations§
impl Freeze for ManagerError
impl RefUnwindSafe for ManagerError
impl Send for ManagerError
impl Sync for ManagerError
impl Unpin for ManagerError
impl UnwindSafe for ManagerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more