pub enum IcpManagementCallError {
CandidEncode(Error),
CandidResponse(Error),
AgentBuild(AgentError),
AgentCall(AgentError),
AsyncRuntime(Error),
Icp(IcpCommandError),
NetworkRootKey(DecodeHexError),
UnsupportedExportedIdentity,
ExportedIdentityPrincipal {
message: String,
},
ExportedIdentityConflict {
active: String,
exported: String,
},
MissingEnvironment,
}Expand description
Typed failure while resolving or executing an effective-ID-correct management-canister call.
Variants§
CandidEncode(Error)
CandidResponse(Error)
AgentBuild(AgentError)
AgentCall(AgentError)
AsyncRuntime(Error)
Icp(IcpCommandError)
NetworkRootKey(DecodeHexError)
UnsupportedExportedIdentity
ExportedIdentityPrincipal
ExportedIdentityConflict
MissingEnvironment
Trait Implementations§
Source§impl Debug for IcpManagementCallError
impl Debug for IcpManagementCallError
Source§impl Display for IcpManagementCallError
impl Display for IcpManagementCallError
Source§impl Error for IcpManagementCallError
impl Error for IcpManagementCallError
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<Box<IcpManagementCallError>> for FrontendError
impl From<Box<IcpManagementCallError>> for FrontendError
Source§fn from(source: Box<IcpManagementCallError>) -> Self
fn from(source: Box<IcpManagementCallError>) -> Self
Converts to this type from the input type.
Source§impl From<IcpCommandError> for IcpManagementCallError
impl From<IcpCommandError> for IcpManagementCallError
Source§fn from(source: IcpCommandError) -> Self
fn from(source: IcpCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IcpManagementCallError
impl !UnwindSafe for IcpManagementCallError
impl Freeze for IcpManagementCallError
impl Send for IcpManagementCallError
impl Sync for IcpManagementCallError
impl Unpin for IcpManagementCallError
impl UnsafeUnpin for IcpManagementCallError
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