pub enum CascadeError {
CanisterNotFound(Principal),
InvalidParentChain,
ParentChainMissingSelf(Principal),
ParentChainCycle(Principal),
ParentChainTooLong(usize),
ParentChainNotRootTerminated(Principal),
NextHopNotFound(Principal),
}Expand description
CascadeError Errors raised during synchronization
Variants§
CanisterNotFound(Principal)
InvalidParentChain
ParentChainMissingSelf(Principal)
ParentChainCycle(Principal)
ParentChainTooLong(usize)
ParentChainNotRootTerminated(Principal)
NextHopNotFound(Principal)
Trait Implementations§
Source§impl Debug for CascadeError
impl Debug for CascadeError
Source§impl Display for CascadeError
impl Display for CascadeError
Source§impl Error for CascadeError
impl Error for CascadeError
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<CascadeError> for Error
impl From<CascadeError> for Error
Source§fn from(err: CascadeError) -> Self
fn from(err: CascadeError) -> Self
Converts to this type from the input type.
Source§impl From<CascadeError> for WorkflowError
impl From<CascadeError> for WorkflowError
Source§fn from(source: CascadeError) -> Self
fn from(source: CascadeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CascadeError
impl RefUnwindSafe for CascadeError
impl Send for CascadeError
impl Sync for CascadeError
impl Unpin for CascadeError
impl UnwindSafe for CascadeError
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