pub enum LiminalError {
ChannelNotFound {
message: String,
},
ChannelClosed {
message: String,
},
SchemaMismatch {
message: String,
},
PublishFailed {
message: String,
},
SubscriptionFailed {
message: String,
},
ConversationFailed {
message: String,
},
ConversationTimeout {
message: String,
},
ParticipantCrashed {
message: String,
},
DeliveryFailed {
message: String,
},
}Expand description
Error taxonomy for liminal channel, conversation, schema, and delivery failures.
Variants§
ChannelNotFound
The requested channel does not exist.
ChannelClosed
The requested channel is closed.
SchemaMismatch
A payload does not match the channel schema.
PublishFailed
Publishing a payload failed.
SubscriptionFailed
Creating or maintaining a subscription failed.
ConversationFailed
Conversation execution failed.
ConversationTimeout
Conversation execution timed out.
ParticipantCrashed
A linked participant process crashed.
DeliveryFailed
Delivering a payload failed.
Trait Implementations§
Source§impl Debug for LiminalError
impl Debug for LiminalError
Source§impl Display for LiminalError
impl Display for LiminalError
Source§impl Error for LiminalError
impl Error for LiminalError
1.30.0 · 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<LiminalError> for DispatchError
impl From<LiminalError> for DispatchError
Source§fn from(error: LiminalError) -> Self
fn from(error: LiminalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LiminalError
impl RefUnwindSafe for LiminalError
impl Send for LiminalError
impl Sync for LiminalError
impl Unpin for LiminalError
impl UnsafeUnpin for LiminalError
impl UnwindSafe for LiminalError
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