pub enum ConductorApiError {
Show 23 variants
DnaMissing(DnaHash),
ZomeCallCellMismatch {
api_cell_id: CellId,
call_cell_id: CellId,
},
ConductorError(Box<ConductorError>),
Io(Error),
SerializationError(SerializationError),
DatabaseError(DatabaseError),
WorkspaceError(WorkspaceError),
WorkflowError(Box<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),
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(Box<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(Box<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)
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
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
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<Box<ConductorError, Global>> for ConductorApiError
impl From<Box<ConductorError, Global>> for ConductorApiError
sourcefn from(source: Box<ConductorError>) -> Self
fn from(source: Box<ConductorError>) -> Self
Converts to this type from the input type.
sourceimpl From<Box<WorkflowError, Global>> for ConductorApiError
impl From<Box<WorkflowError, Global>> for ConductorApiError
sourcefn from(source: Box<WorkflowError>) -> Self
fn from(source: Box<WorkflowError>) -> Self
Converts to this type from the input type.
sourceimpl From<CellError> for ConductorApiError
impl From<CellError> 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(conductor_api_error: ConductorError) -> Self
fn from(conductor_api_error: 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<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 T where
T: Any + ?Sized,
impl<T> Any for T where
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<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>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more