Enum abstract_manager::error::ManagerError
source · pub enum ManagerError {
Show 33 variants
Std(StdError),
Abstract(AbstractError),
AbstractSdk(AbstractSdkError),
Admin(AdminError),
Validation(ValidationError),
Ownership(OwnershipError),
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),
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 {},
}Variants§
Std(StdError)
Abstract(AbstractError)
AbstractSdk(AbstractSdkError)
Admin(AdminError)
Validation(ValidationError)
Ownership(OwnershipError)
Instantiate2AddressError(Instantiate2AddressError)
VersionControlError(VersionControlError)
ModuleAlreadyInstalled(String)
ModuleHasDependents(Vec<String>)
UnexpectedReply()
InvalidModuleName
CallerNotModuleFactory
MsgRequired
NotUpgradeable(ModuleInfo)
DuplicateModuleMigration
AccountSuspended
OlderVersion(String, String)
ModuleNotFound(String)
VersionRequirementNotMet
DependencyNotMet(String, String)
InvalidReference(ModuleInfo)
CannotRemoveProxy
NoUpdates
InvalidConfigAction
MustUseProposeOwner
NoContractOwner(String)
SubAccountAdminVerification
SubAccountRemovalFailed
SubAccountRegisterFailed
RenounceWithSubAccount
ProposeRenounced
InitRenounced
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<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<OwnershipError> for ManagerError
impl From<OwnershipError> for ManagerError
source§fn from(source: OwnershipError) -> Self
fn from(source: OwnershipError) -> 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
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 ==.impl StructuralPartialEq for ManagerError
Auto Trait Implementations§
impl RefUnwindSafe for ManagerError
impl Send for ManagerError
impl Sync for ManagerError
impl Unpin for ManagerError
impl UnwindSafe for ManagerError
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moresource§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