Enum holochain::core::workflow::error::WorkflowError[][src]

pub enum WorkflowError {
Show 28 variants GenesisFailure(String), AppValidationError(AppValidationError), AgentInvalid(AgentPubKey), ConductorApi(Box<ConductorApiError>), CascadeError(CascadeError), CounterSigningError(CounterSigningError), WorkspaceError(WorkspaceError), DatabaseError(DatabaseError), RibosomeError(RibosomeError), SourceChainError(SourceChainError), CapabilityMissing, SerializedBytesError(SerializedBytesError), CellError(CellError), JoinError(JoinError), QueueTriggerClosedError(QueueTriggerClosedError), HolochainP2pError(HolochainP2pError), HoloHashError(HoloHashError), InterfaceError(InterfaceError), DhtOpError(DhtOpError), SysValidationError(SysValidationError), KeystoreError(KeystoreError), SqlError(Error), StateQueryError(StateQueryError), StateMutationError(StateMutationError), SystemTimeError(SystemTimeError), RecvError, SendError(SendError<()>), Other(Box<dyn Error + Send + Sync>),
}

Variants

GenesisFailure(String)

Tuple Fields of GenesisFailure

0: String
AppValidationError(AppValidationError)

Tuple Fields of AppValidationError

0: AppValidationError
AgentInvalid(AgentPubKey)

Tuple Fields of AgentInvalid

0: AgentPubKey
ConductorApi(Box<ConductorApiError>)

Tuple Fields of ConductorApi

0: Box<ConductorApiError>
CascadeError(CascadeError)

Tuple Fields of CascadeError

0: CascadeError
CounterSigningError(CounterSigningError)

Tuple Fields of CounterSigningError

0: CounterSigningError
WorkspaceError(WorkspaceError)

Tuple Fields of WorkspaceError

0: WorkspaceError
DatabaseError(DatabaseError)

Tuple Fields of DatabaseError

0: DatabaseError
RibosomeError(RibosomeError)

Tuple Fields of RibosomeError

0: RibosomeError
SourceChainError(SourceChainError)

Tuple Fields of SourceChainError

0: SourceChainError
CapabilityMissing
SerializedBytesError(SerializedBytesError)

Tuple Fields of SerializedBytesError

0: SerializedBytesError
CellError(CellError)

Tuple Fields of CellError

0: CellError
JoinError(JoinError)

Tuple Fields of JoinError

0: JoinError
QueueTriggerClosedError(QueueTriggerClosedError)

Tuple Fields of QueueTriggerClosedError

0: QueueTriggerClosedError
HolochainP2pError(HolochainP2pError)

Tuple Fields of HolochainP2pError

0: HolochainP2pError
HoloHashError(HoloHashError)

Tuple Fields of HoloHashError

0: HoloHashError
InterfaceError(InterfaceError)

Tuple Fields of InterfaceError

0: InterfaceError
DhtOpError(DhtOpError)

Tuple Fields of DhtOpError

0: DhtOpError
SysValidationError(SysValidationError)

Tuple Fields of SysValidationError

0: SysValidationError
KeystoreError(KeystoreError)

Tuple Fields of KeystoreError

0: KeystoreError
SqlError(Error)

Tuple Fields of SqlError

0: Error
StateQueryError(StateQueryError)

Tuple Fields of StateQueryError

0: StateQueryError
StateMutationError(StateMutationError)

Tuple Fields of StateMutationError

0: StateMutationError
SystemTimeError(SystemTimeError)

Tuple Fields of SystemTimeError

0: SystemTimeError
RecvError
SendError(SendError<()>)

Tuple Fields of SendError

0: SendError<()>
Other(Box<dyn Error + Send + Sync>)

Other

Tuple Fields of Other

0: Box<dyn Error + Send + Sync>

Implementations

promote a custom error type to a WorkflowError

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

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

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type for metadata in pointers and references to Self.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more