pub enum DurabilityError {
Store(StoreError),
NonDeterminism(NonDeterminismError),
HistoryShape {
reason: String,
},
SearchAttribute(SearchAttributeError),
}Expand description
Errors returned by durability recording, replay, and recovery operations.
Variants§
Store(StoreError)
The backing event store rejected or failed a durability operation.
NonDeterminism(NonDeterminismError)
Replay detected that workflow code no longer matches recorded history.
HistoryShape
Recorded history is malformed or internally inconsistent.
SearchAttribute(SearchAttributeError)
A search attribute update did not satisfy the registered schema.
Trait Implementations§
Source§impl Debug for DurabilityError
impl Debug for DurabilityError
Source§impl Display for DurabilityError
impl Display for DurabilityError
Source§impl Error for DurabilityError
impl Error for DurabilityError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<DurabilityError> for EngineError
impl From<DurabilityError> for EngineError
Source§fn from(source: DurabilityError) -> Self
fn from(source: DurabilityError) -> Self
Converts to this type from the input type.
Source§impl From<DurabilityError> for NifContextError
impl From<DurabilityError> for NifContextError
Source§fn from(source: DurabilityError) -> Self
fn from(source: DurabilityError) -> Self
Converts to this type from the input type.
Source§impl From<NonDeterminismError> for DurabilityError
impl From<NonDeterminismError> for DurabilityError
Source§fn from(source: NonDeterminismError) -> Self
fn from(source: NonDeterminismError) -> Self
Converts to this type from the input type.
Source§impl From<SearchAttributeError> for DurabilityError
impl From<SearchAttributeError> for DurabilityError
Source§fn from(source: SearchAttributeError) -> Self
fn from(source: SearchAttributeError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for DurabilityError
impl From<StoreError> for DurabilityError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DurabilityError
impl RefUnwindSafe for DurabilityError
impl Send for DurabilityError
impl Sync for DurabilityError
impl Unpin for DurabilityError
impl UnsafeUnpin for DurabilityError
impl UnwindSafe for DurabilityError
Blanket Implementations§
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