pub enum VersionControlError {
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),
QueryFailed {
method_name: String,
error: StdError,
},
}
Variants§
ModuleNotFound
FailedToQueryAccountId
StandaloneNotFound
UnknownAccountId
NotManager(Addr, AccountId)
NotProxy(Addr, AccountId)
QueryFailed
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
1.30.0 · 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<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
impl StructuralPartialEq for VersionControlError
Auto Trait Implementations§
impl Freeze for VersionControlError
impl RefUnwindSafe for VersionControlError
impl Send for VersionControlError
impl Sync for VersionControlError
impl Unpin for VersionControlError
impl UnwindSafe for VersionControlError
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