Enum holochain::conductor::error::ConductorError
source · pub enum ConductorError {
Show 38 variants
InternalCellError(CellError),
AppError(AppError),
AppBundleError(AppBundleError),
DatabaseError(DatabaseError),
CellAlreadyExists(CellId),
CellNotInitialized,
CellDisabled(CellId),
CellMissing(CellId),
CloneCellError(String),
ConductorConfigError(ConductorConfigError),
ConfigError(String),
SerializationError(Error),
ShuttingDown,
IoError(Error),
SubmitTaskError(String),
ZomeError(ZomeError),
DnaError(DnaError),
WorkflowError(WorkflowError),
AppInterfaceIdCollision(AppInterfaceId),
InterfaceError(Box<InterfaceError>),
GenesisFailed {
errors: Vec<CellError>,
},
SerializedBytesError(SerializedBytesError),
WasmMissing,
AppNotInstalled(InstalledAppId),
AppAlreadyInstalled(InstalledAppId),
AppNotRunning(InstalledAppId),
HolochainP2pError(HolochainP2pError),
EntryDefStoreError(EntryDefStoreError),
KeystoreError(KeystoreError),
KitsuneP2pError(KitsuneP2pError),
MrBundleError(MrBundleError),
SourceChainError(SourceChainError),
StateQueryError(StateQueryError),
StateMutationError(StateMutationError),
JoinError(JoinError),
RusqliteError(Error),
RibosomeError(RibosomeError),
Other(Box<dyn Error + Send + Sync>),
}
Variants§
InternalCellError(CellError)
AppError(AppError)
AppBundleError(AppBundleError)
DatabaseError(DatabaseError)
CellAlreadyExists(CellId)
CellNotInitialized
CellDisabled(CellId)
CellMissing(CellId)
CloneCellError(String)
ConductorConfigError(ConductorConfigError)
ConfigError(String)
SerializationError(Error)
ShuttingDown
IoError(Error)
SubmitTaskError(String)
ZomeError(ZomeError)
DnaError(DnaError)
WorkflowError(WorkflowError)
AppInterfaceIdCollision(AppInterfaceId)
InterfaceError(Box<InterfaceError>)
GenesisFailed
SerializedBytesError(SerializedBytesError)
WasmMissing
AppNotInstalled(InstalledAppId)
AppAlreadyInstalled(InstalledAppId)
AppNotRunning(InstalledAppId)
HolochainP2pError(HolochainP2pError)
EntryDefStoreError(EntryDefStoreError)
KeystoreError(KeystoreError)
KitsuneP2pError(KitsuneP2pError)
MrBundleError(MrBundleError)
SourceChainError(SourceChainError)
StateQueryError(StateQueryError)
StateMutationError(StateMutationError)
JoinError(JoinError)
RusqliteError(Error)
RibosomeError(RibosomeError)
Other(Box<dyn Error + Send + Sync>)
Other
Implementations§
Trait Implementations§
source§impl Debug for ConductorError
impl Debug for ConductorError
source§impl Display for ConductorError
impl Display for ConductorError
source§impl Error for ConductorError
impl Error for ConductorError
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<AppBundleError> for ConductorError
impl From<AppBundleError> for ConductorError
source§fn from(source: AppBundleError) -> Self
fn from(source: AppBundleError) -> Self
Converts to this type from the input type.
source§impl From<AppError> for ConductorError
impl From<AppError> for ConductorError
source§impl From<Box<InterfaceError, Global>> for ConductorError
impl From<Box<InterfaceError, Global>> for ConductorError
source§fn from(source: Box<InterfaceError>) -> Self
fn from(source: Box<InterfaceError>) -> Self
Converts to this type from the input type.
source§impl From<CellError> for ConductorError
impl From<CellError> for ConductorError
source§impl From<ConductorConfigError> for ConductorError
impl From<ConductorConfigError> for ConductorError
source§fn from(source: ConductorConfigError) -> Self
fn from(source: ConductorConfigError) -> Self
Converts to this type from the input type.
source§impl From<ConductorError> for ConductorApiError
impl From<ConductorError> for ConductorApiError
source§fn from(source: ConductorError) -> Self
fn from(source: ConductorError) -> Self
Converts to this type from the input type.
source§impl From<ConductorError> for WasmErrorInner
impl From<ConductorError> for WasmErrorInner
source§fn from(e: ConductorError) -> Self
fn from(e: ConductorError) -> Self
Converts to this type from the input type.
source§impl From<DatabaseError> for ConductorError
impl From<DatabaseError> for ConductorError
source§fn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Converts to this type from the input type.
source§impl From<DnaError> for ConductorError
impl From<DnaError> for ConductorError
source§impl From<EntryDefStoreError> for ConductorError
impl From<EntryDefStoreError> for ConductorError
source§fn from(source: EntryDefStoreError) -> Self
fn from(source: EntryDefStoreError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ConductorError
impl From<Error> for ConductorError
source§impl From<Error> for ConductorError
impl From<Error> for ConductorError
source§impl From<Error> for ConductorError
impl From<Error> for ConductorError
source§impl From<HolochainP2pError> for ConductorError
impl From<HolochainP2pError> for ConductorError
source§fn from(source: HolochainP2pError) -> Self
fn from(source: HolochainP2pError) -> Self
Converts to this type from the input type.
source§impl From<JoinError> for ConductorError
impl From<JoinError> for ConductorError
source§impl From<KeystoreError> for ConductorError
impl From<KeystoreError> for ConductorError
source§fn from(source: KeystoreError) -> Self
fn from(source: KeystoreError) -> Self
Converts to this type from the input type.
source§impl From<KitsuneP2pError> for ConductorError
impl From<KitsuneP2pError> for ConductorError
source§fn from(source: KitsuneP2pError) -> Self
fn from(source: KitsuneP2pError) -> Self
Converts to this type from the input type.
source§impl From<MrBundleError> for ConductorError
impl From<MrBundleError> for ConductorError
source§fn from(source: MrBundleError) -> Self
fn from(source: MrBundleError) -> Self
Converts to this type from the input type.
source§impl From<OneErr> for ConductorError
impl From<OneErr> for ConductorError
source§impl From<RibosomeError> for ConductorError
impl From<RibosomeError> for ConductorError
source§fn from(source: RibosomeError) -> Self
fn from(source: RibosomeError) -> Self
Converts to this type from the input type.
source§impl From<SerializedBytesError> for ConductorError
impl From<SerializedBytesError> for ConductorError
source§fn from(source: SerializedBytesError) -> Self
fn from(source: SerializedBytesError) -> Self
Converts to this type from the input type.
source§impl From<SourceChainError> for ConductorError
impl From<SourceChainError> for ConductorError
source§fn from(source: SourceChainError) -> Self
fn from(source: SourceChainError) -> Self
Converts to this type from the input type.
source§impl From<StateMutationError> for ConductorError
impl From<StateMutationError> for ConductorError
source§fn from(source: StateMutationError) -> Self
fn from(source: StateMutationError) -> Self
Converts to this type from the input type.
source§impl From<StateQueryError> for ConductorError
impl From<StateQueryError> for ConductorError
source§fn from(source: StateQueryError) -> Self
fn from(source: StateQueryError) -> Self
Converts to this type from the input type.
source§impl From<WorkflowError> for ConductorError
impl From<WorkflowError> for ConductorError
source§fn from(source: WorkflowError) -> Self
fn from(source: WorkflowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConductorError
impl Send for ConductorError
impl Sync for ConductorError
impl Unpin for ConductorError
impl !UnwindSafe for ConductorError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.§impl<T> Upcastable for Twhere
T: Any + Send + Sync + 'static,
impl<T> Upcastable for Twhere T: Any + Send + Sync + 'static,
§fn upcast_any_ref(&self) -> &(dyn Any + 'static)
fn upcast_any_ref(&self) -> &(dyn Any + 'static)
upcast ref
§fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn upcast_any_mut(&mut self) -> &mut (dyn Any + 'static)
upcast mut ref