//! Error types for the SMILES parser.
//!
//! This module contains all error types used by the SMILES parser,
//! organized by component:
//!
//! - [`AtomError`] - Atom-related errors (charge, isotope, element)
//! - [`NodeError`] - Node-related errors (hydrogens, class, aromaticity)
//! - [`MoleculeError`] - Molecule construction errors
//! - [`ParserError`] - SMILES string parsing errors
//!
//! # Error hierarchy
//!
//! ```text
//! ParserError
//! ├── MoleculeError
//! │ ├── NodeError
//! │ │ └── AtomError
//! │ └── AtomError
//! └── NodeError
//! └── AtomError
//! ```
//!
//! `From` conversions are implemented to allow using the `?` operator
//! throughout the hierarchy.
pub use AtomError;
pub use BondError;
pub use MoleculeError;
pub use NodeError;
pub use ParserError;