pub enum TMinusError {
EventNotFound(Uuid),
CampaignNotFound(Uuid),
NotAttendee(AgentId, Uuid),
DependencyCycle(Vec<Uuid>),
Database(Error),
Serde(Error),
InvalidInput(String),
}Expand description
Errors that can occur in the engine.
Variants§
EventNotFound(Uuid)
CampaignNotFound(Uuid)
NotAttendee(AgentId, Uuid)
DependencyCycle(Vec<Uuid>)
Database(Error)
Serde(Error)
InvalidInput(String)
Trait Implementations§
Source§impl Debug for TMinusError
impl Debug for TMinusError
Source§impl Display for TMinusError
impl Display for TMinusError
Source§impl Error for TMinusError
impl Error for TMinusError
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<Error> for TMinusError
impl From<Error> for TMinusError
Auto Trait Implementations§
impl !RefUnwindSafe for TMinusError
impl !UnwindSafe for TMinusError
impl Freeze for TMinusError
impl Send for TMinusError
impl Sync for TMinusError
impl Unpin for TMinusError
impl UnsafeUnpin for TMinusError
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