pub enum GraphynError {
SymbolNotFound(String),
ParseError {
file: String,
line: u32,
message: String,
},
GraphCorrupt(String),
StorageError(String),
AmbiguousSymbol {
symbol: String,
candidates: Vec<String>,
},
InvalidDepth {
depth: usize,
max: usize,
},
}Variants§
SymbolNotFound(String)
ParseError
GraphCorrupt(String)
StorageError(String)
AmbiguousSymbol
InvalidDepth
Trait Implementations§
Source§impl Debug for GraphynError
impl Debug for GraphynError
Source§impl Display for GraphynError
impl Display for GraphynError
Source§impl Error for GraphynError
impl Error for GraphynError
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()
Auto Trait Implementations§
impl Freeze for GraphynError
impl RefUnwindSafe for GraphynError
impl Send for GraphynError
impl Sync for GraphynError
impl Unpin for GraphynError
impl UnsafeUnpin for GraphynError
impl UnwindSafe for GraphynError
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