pub enum DocumentGraphError {
Context(ContextError),
Model(MetadataError),
Index(NodeResolutionError),
InvalidNode(String),
InvalidSelectorObject,
}Expand description
A malformed authored graph or source selector.
Variants§
Context(ContextError)
Model(MetadataError)
Index(NodeResolutionError)
InvalidNode(String)
InvalidSelectorObject
Trait Implementations§
Source§impl Debug for DocumentGraphError
impl Debug for DocumentGraphError
Source§impl Display for DocumentGraphError
impl Display for DocumentGraphError
Source§impl Error for DocumentGraphError
impl Error for DocumentGraphError
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<ContextError> for DocumentGraphError
impl From<ContextError> for DocumentGraphError
Source§fn from(source: ContextError) -> Self
fn from(source: ContextError) -> Self
Converts to this type from the input type.
Source§impl From<DocumentGraphError> for ProviderDeclarationError
impl From<DocumentGraphError> for ProviderDeclarationError
Source§fn from(source: DocumentGraphError) -> Self
fn from(source: DocumentGraphError) -> Self
Converts to this type from the input type.
Source§impl From<MetadataError> for DocumentGraphError
impl From<MetadataError> for DocumentGraphError
Source§fn from(source: MetadataError) -> Self
fn from(source: MetadataError) -> Self
Converts to this type from the input type.
Source§impl From<NodeResolutionError> for DocumentGraphError
impl From<NodeResolutionError> for DocumentGraphError
Source§fn from(source: NodeResolutionError) -> Self
fn from(source: NodeResolutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DocumentGraphError
impl RefUnwindSafe for DocumentGraphError
impl Send for DocumentGraphError
impl Sync for DocumentGraphError
impl Unpin for DocumentGraphError
impl UnsafeUnpin for DocumentGraphError
impl UnwindSafe for DocumentGraphError
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