pub enum VersionControlError {
StdError(StdError),
ModuleNotFound {
module: String,
registry_addr: Addr,
},
FailedToQueryAccountId {
contract_addr: Addr,
},
StandaloneNotFound {
code_id: u64,
registry_addr: Addr,
},
UnknownAccountId {
account_id: AccountId,
registry_addr: Addr,
},
NotManager(Addr, AccountId),
NotProxy(Addr, AccountId),
}
Variants§
StdError(StdError)
ModuleNotFound
FailedToQueryAccountId
StandaloneNotFound
UnknownAccountId
NotManager(Addr, AccountId)
NotProxy(Addr, AccountId)
Trait Implementations§
source§impl Debug for VersionControlError
impl Debug for VersionControlError
source§impl Display for VersionControlError
impl Display for VersionControlError
source§impl Error for VersionControlError
impl Error for VersionControlError
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<StdError> for VersionControlError
impl From<StdError> for VersionControlError
source§impl From<VersionControlError> for AbstractError
impl From<VersionControlError> for AbstractError
source§fn from(source: VersionControlError) -> Self
fn from(source: VersionControlError) -> Self
Converts to this type from the input type.
source§impl PartialEq for VersionControlError
impl PartialEq for VersionControlError
source§fn eq(&self, other: &VersionControlError) -> bool
fn eq(&self, other: &VersionControlError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VersionControlError
Auto Trait Implementations§
impl RefUnwindSafe for VersionControlError
impl Send for VersionControlError
impl Sync for VersionControlError
impl Unpin for VersionControlError
impl UnwindSafe for VersionControlError
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