pub enum UcmError {
EntityNotFound(String),
EdgeNotFound {
from: String,
to: String,
},
DuplicateEntity(String),
InvalidScipId(String),
Serialization(Error),
EventStore(String),
Ingestion(String),
}Variants§
EntityNotFound(String)
EdgeNotFound
DuplicateEntity(String)
InvalidScipId(String)
Serialization(Error)
EventStore(String)
Ingestion(String)
Trait Implementations§
Source§impl Error for UcmError
impl Error for UcmError
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()
Auto Trait Implementations§
impl Freeze for UcmError
impl !RefUnwindSafe for UcmError
impl Send for UcmError
impl Sync for UcmError
impl Unpin for UcmError
impl UnsafeUnpin for UcmError
impl !UnwindSafe for UcmError
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