pub enum NirvError {
Protocol(ProtocolError),
QueryParsing(QueryParsingError),
Connector(ConnectorError),
Dispatcher(DispatcherError),
Configuration(String),
Internal(String),
}Expand description
Main error type for NIRV Engine
Variants§
Protocol(ProtocolError)
QueryParsing(QueryParsingError)
Connector(ConnectorError)
Dispatcher(DispatcherError)
Configuration(String)
Internal(String)
Trait Implementations§
Source§impl Error for NirvError
impl Error for NirvError
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<ConnectorError> for NirvError
impl From<ConnectorError> for NirvError
Source§fn from(source: ConnectorError) -> Self
fn from(source: ConnectorError) -> Self
Converts to this type from the input type.
Source§impl From<DispatcherError> for NirvError
impl From<DispatcherError> for NirvError
Source§fn from(source: DispatcherError) -> Self
fn from(source: DispatcherError) -> Self
Converts to this type from the input type.
Source§impl From<ProtocolError> for NirvError
impl From<ProtocolError> for NirvError
Source§fn from(source: ProtocolError) -> Self
fn from(source: ProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<QueryParsingError> for NirvError
impl From<QueryParsingError> for NirvError
Source§fn from(source: QueryParsingError) -> Self
fn from(source: QueryParsingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NirvError
impl RefUnwindSafe for NirvError
impl Send for NirvError
impl Sync for NirvError
impl Unpin for NirvError
impl UnwindSafe for NirvError
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