pub enum RustRabbitError {
Show 18 variants
Rabbit(RabbitError),
RequestTimeout,
ResponseChannelClosed,
SagaNotFound,
SagaExecutorNotFound(String),
SagaCompensationFailed,
EventSequenceError,
UnknownEventType(String),
AggregateNotFound,
SnapshotCreationFailed,
QueueFull,
QueueNotFound(String),
InvalidPriority(u8),
DuplicateMessage,
DeduplicationStore(String),
ChannelSendError,
TaskJoinError(String),
LockPoisoned,
}Expand description
Extended error type for advanced patterns (Phase 2)
Variants§
Rabbit(RabbitError)
RequestTimeout
ResponseChannelClosed
SagaNotFound
SagaExecutorNotFound(String)
SagaCompensationFailed
EventSequenceError
UnknownEventType(String)
AggregateNotFound
SnapshotCreationFailed
QueueFull
QueueNotFound(String)
InvalidPriority(u8)
DuplicateMessage
DeduplicationStore(String)
ChannelSendError
TaskJoinError(String)
LockPoisoned
Trait Implementations§
Source§impl Debug for RustRabbitError
impl Debug for RustRabbitError
Source§impl Display for RustRabbitError
impl Display for RustRabbitError
Source§impl Error for RustRabbitError
impl Error for RustRabbitError
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<RabbitError> for RustRabbitError
impl From<RabbitError> for RustRabbitError
Source§fn from(source: RabbitError) -> Self
fn from(source: RabbitError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RustRabbitError
impl !RefUnwindSafe for RustRabbitError
impl Send for RustRabbitError
impl Sync for RustRabbitError
impl Unpin for RustRabbitError
impl !UnwindSafe for RustRabbitError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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