pub enum ConductorApiError {
Show 25 variants
DnaMissing(DnaHash),
ZomeCallCellMismatch {
api_cell_id: CellId,
call_cell_id: CellId,
},
ConductorError(ConductorError),
Io(Error),
SerializationError(SerializationError),
DatabaseError(DatabaseError),
WorkspaceError(WorkspaceError),
WorkflowError(WorkflowError),
ZomeError(ZomeError),
DnaError(DnaError),
DnaReadError(String),
KeystoreError(KeystoreError),
CellError(CellError),
AppError(AppError),
InterfaceError(InterfaceError),
SourceChainError(SourceChainError),
AppBundleError(AppBundleError),
MrBundleError(MrBundleError),
JsonDumpError(Error),
StateQueryError(StateQueryError),
StateMutationError(StateMutationError),
RusqliteError(Error),
ChcError(ChcError),
RibosomeError(RibosomeError),
Other(Box<dyn Error + Send + Sync>),
}
Expand description
Errors occurring during a CellConductorApi
or InterfaceApi
call
Variants§
DnaMissing(DnaHash)
The Dna for this Cell is not installed in the conductor.
ZomeCallCellMismatch
Fields
Cell was referenced, but is missing from the conductor.
ConductorError(ConductorError)
Conductor threw an error during API call.
Io(Error)
Io error.
SerializationError(SerializationError)
Serialization error
DatabaseError(DatabaseError)
Database error
WorkspaceError(WorkspaceError)
Workspace error.
WorkflowError(WorkflowError)
Workflow error.
ZomeError(ZomeError)
ZomeError
DnaError(DnaError)
DnaError
DnaReadError(String)
The Dna file path provided was invalid
KeystoreError(KeystoreError)
KeystoreError
CellError(CellError)
Cell error
AppError(AppError)
App error
InterfaceError(InterfaceError)
Error in the Interface
SourceChainError(SourceChainError)
AppBundleError(AppBundleError)
MrBundleError(MrBundleError)
JsonDumpError(Error)
StateQueryError(StateQueryError)
StateMutationError(StateMutationError)
RusqliteError(Error)
ChcError(ChcError)
RibosomeError(RibosomeError)
Other(Box<dyn Error + Send + Sync>)
Other
Implementations§
Trait Implementations§
source§impl Debug for ConductorApiError
impl Debug for ConductorApiError
source§impl Display for ConductorApiError
impl Display for ConductorApiError
source§impl Error for ConductorApiError
impl Error for ConductorApiError
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 ConductorApiError
impl From<AppBundleError> for ConductorApiError
source§fn from(source: AppBundleError) -> Self
fn from(source: AppBundleError) -> Self
Converts to this type from the input type.
source§impl From<AppError> for ConductorApiError
impl From<AppError> for ConductorApiError
source§impl From<CellError> for ConductorApiError
impl From<CellError> for ConductorApiError
source§impl From<ChcError> for ConductorApiError
impl From<ChcError> for ConductorApiError
source§impl From<ConductorApiError> for ExternalApiWireError
impl From<ConductorApiError> for ExternalApiWireError
source§fn from(err: ConductorApiError) -> Self
fn from(err: ConductorApiError) -> 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<DatabaseError> for ConductorApiError
impl From<DatabaseError> for ConductorApiError
source§fn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Converts to this type from the input type.
source§impl From<DnaError> for ConductorApiError
impl From<DnaError> for ConductorApiError
source§impl From<Error> for ConductorApiError
impl From<Error> for ConductorApiError
source§impl From<Error> for ConductorApiError
impl From<Error> for ConductorApiError
source§impl From<Error> for ConductorApiError
impl From<Error> for ConductorApiError
source§impl From<InterfaceError> for ConductorApiError
impl From<InterfaceError> for ConductorApiError
source§fn from(source: InterfaceError) -> Self
fn from(source: InterfaceError) -> Self
Converts to this type from the input type.
source§impl From<KeystoreError> for ConductorApiError
impl From<KeystoreError> for ConductorApiError
source§fn from(source: KeystoreError) -> Self
fn from(source: KeystoreError) -> Self
Converts to this type from the input type.
source§impl From<MrBundleError> for ConductorApiError
impl From<MrBundleError> for ConductorApiError
source§fn from(source: MrBundleError) -> Self
fn from(source: MrBundleError) -> Self
Converts to this type from the input type.
source§impl From<OneErr> for ConductorApiError
impl From<OneErr> for ConductorApiError
source§impl From<RibosomeError> for ConductorApiError
impl From<RibosomeError> for ConductorApiError
source§fn from(source: RibosomeError) -> Self
fn from(source: RibosomeError) -> Self
Converts to this type from the input type.
source§impl From<SerializationError> for ConductorApiError
impl From<SerializationError> for ConductorApiError
source§fn from(source: SerializationError) -> Self
fn from(source: SerializationError) -> Self
Converts to this type from the input type.
source§impl From<SourceChainError> for ConductorApiError
impl From<SourceChainError> for ConductorApiError
source§fn from(source: SourceChainError) -> Self
fn from(source: SourceChainError) -> Self
Converts to this type from the input type.
source§impl From<StateMutationError> for ConductorApiError
impl From<StateMutationError> for ConductorApiError
source§fn from(source: StateMutationError) -> Self
fn from(source: StateMutationError) -> Self
Converts to this type from the input type.
source§impl From<StateQueryError> for ConductorApiError
impl From<StateQueryError> for ConductorApiError
source§fn from(source: StateQueryError) -> Self
fn from(source: StateQueryError) -> Self
Converts to this type from the input type.
source§impl From<WorkflowError> for ConductorApiError
impl From<WorkflowError> for ConductorApiError
source§fn from(source: WorkflowError) -> Self
fn from(source: WorkflowError) -> Self
Converts to this type from the input type.
source§impl From<WorkspaceError> for ConductorApiError
impl From<WorkspaceError> for ConductorApiError
source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConductorApiError
impl Send for ConductorApiError
impl Sync for ConductorApiError
impl Unpin for ConductorApiError
impl !UnwindSafe for ConductorApiError
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