pub enum ReactionQueryError {
SmartsParseError {
smarts: String,
source: String,
},
MissingArrowDelimiter,
InvalidAgentsSection,
MapNumberMismatch {
map_num: u16,
message: String,
},
}Expand description
Error type for reaction query operations.
Variants§
SmartsParseError
Failed to parse a SMARTS pattern.
MissingArrowDelimiter
Missing arrow delimiter in reaction SMARTS.
InvalidAgentsSection
Invalid agents section (middle part between > and >).
MapNumberMismatch
Map number inconsistency (e.g., :1 in reactants but not products).
Trait Implementations§
Source§impl Debug for ReactionQueryError
impl Debug for ReactionQueryError
Source§impl Display for ReactionQueryError
impl Display for ReactionQueryError
Source§impl Error for ReactionQueryError
impl Error for ReactionQueryError
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 ReactionQueryError
impl RefUnwindSafe for ReactionQueryError
impl Send for ReactionQueryError
impl Sync for ReactionQueryError
impl Unpin for ReactionQueryError
impl UnsafeUnpin for ReactionQueryError
impl UnwindSafe for ReactionQueryError
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