pub enum ConductorApiError {
Show 24 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),
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
api_cell_id: CellId
The CellId which is referenced by the CellConductorApi
call_cell_id: CellId
The CellId which is referenced by the ZomeCallInvocation
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)
Other(Box<dyn Error + Send + Sync>)
Other
Implementations
Trait Implementations
sourceimpl Debug for ConductorApiError
impl Debug for ConductorApiError
sourceimpl Display for ConductorApiError
impl Display for ConductorApiError
sourceimpl Error for ConductorApiError
impl Error for ConductorApiError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<AppBundleError> for ConductorApiError
impl From<AppBundleError> for ConductorApiError
sourcefn from(source: AppBundleError) -> Self
fn from(source: AppBundleError) -> Self
Converts to this type from the input type.
sourceimpl From<AppError> for ConductorApiError
impl From<AppError> for ConductorApiError
sourceimpl From<CellError> for ConductorApiError
impl From<CellError> for ConductorApiError
sourceimpl From<ChcError> for ConductorApiError
impl From<ChcError> for ConductorApiError
sourceimpl From<ConductorApiError> for ExternalApiWireError
impl From<ConductorApiError> for ExternalApiWireError
sourcefn from(err: ConductorApiError) -> Self
fn from(err: ConductorApiError) -> Self
Converts to this type from the input type.
sourceimpl From<ConductorError> for ConductorApiError
impl From<ConductorError> for ConductorApiError
sourcefn from(source: ConductorError) -> Self
fn from(source: ConductorError) -> Self
Converts to this type from the input type.
sourceimpl From<DatabaseError> for ConductorApiError
impl From<DatabaseError> for ConductorApiError
sourcefn from(source: DatabaseError) -> Self
fn from(source: DatabaseError) -> Self
Converts to this type from the input type.
sourceimpl From<DnaError> for ConductorApiError
impl From<DnaError> for ConductorApiError
sourceimpl From<Error> for ConductorApiError
impl From<Error> for ConductorApiError
sourceimpl From<Error> for ConductorApiError
impl From<Error> for ConductorApiError
sourceimpl From<Error> for ConductorApiError
impl From<Error> for ConductorApiError
sourceimpl From<InterfaceError> for ConductorApiError
impl From<InterfaceError> for ConductorApiError
sourcefn from(source: InterfaceError) -> Self
fn from(source: InterfaceError) -> Self
Converts to this type from the input type.
sourceimpl From<KeystoreError> for ConductorApiError
impl From<KeystoreError> for ConductorApiError
sourcefn from(source: KeystoreError) -> Self
fn from(source: KeystoreError) -> Self
Converts to this type from the input type.
sourceimpl From<MrBundleError> for ConductorApiError
impl From<MrBundleError> for ConductorApiError
sourcefn from(source: MrBundleError) -> Self
fn from(source: MrBundleError) -> Self
Converts to this type from the input type.
sourceimpl From<OneErr> for ConductorApiError
impl From<OneErr> for ConductorApiError
sourceimpl From<SerializationError> for ConductorApiError
impl From<SerializationError> for ConductorApiError
sourcefn from(source: SerializationError) -> Self
fn from(source: SerializationError) -> Self
Converts to this type from the input type.
sourceimpl From<SourceChainError> for ConductorApiError
impl From<SourceChainError> for ConductorApiError
sourcefn from(source: SourceChainError) -> Self
fn from(source: SourceChainError) -> Self
Converts to this type from the input type.
sourceimpl From<StateMutationError> for ConductorApiError
impl From<StateMutationError> for ConductorApiError
sourcefn from(source: StateMutationError) -> Self
fn from(source: StateMutationError) -> Self
Converts to this type from the input type.
sourceimpl From<StateQueryError> for ConductorApiError
impl From<StateQueryError> for ConductorApiError
sourcefn from(source: StateQueryError) -> Self
fn from(source: StateQueryError) -> Self
Converts to this type from the input type.
sourceimpl From<WorkflowError> for ConductorApiError
impl From<WorkflowError> for ConductorApiError
sourcefn from(source: WorkflowError) -> Self
fn from(source: WorkflowError) -> Self
Converts to this type from the input type.
sourceimpl From<WorkspaceError> for ConductorApiError
impl From<WorkspaceError> for ConductorApiError
sourcefn 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> Any for Twhere
T: Any + ?Sized,
impl<T> Any for Twhere
T: Any + ?Sized,
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove
Any::type_id_compat and use StdAny::type_id instead.
https://github.com/rust-lang/rust/issues/27745 Read more
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.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
sourcefn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
sourcefn 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 morefn 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: 'static + Any + Send + Sync,
impl<T> Upcastable for Twhere
T: 'static + Any + Send + Sync,
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