pub enum OboError {
Parse(String),
TermNotFound(String),
PatchInvalid(String),
Core(OntoCoreError),
Io(String),
}Variants§
Trait Implementations§
Source§impl Error for OboError
impl Error for OboError
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<OntoCoreError> for OboError
impl From<OntoCoreError> for OboError
Source§fn from(source: OntoCoreError) -> Self
fn from(source: OntoCoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OboError
impl !UnwindSafe for OboError
impl Freeze for OboError
impl Send for OboError
impl Sync for OboError
impl Unpin for OboError
impl UnsafeUnpin for OboError
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