//! Error handling for Python bindings
//!
//! The `SyntaError` custom Python exception is defined here and exported to
//! Python as `synta.SyntaError`. The `SyntaErr` Rust newtype that bridges
//! `synta::Error` to `PyErr` lives in `synta-python-common` and is re-exported
//! here for backward-compatibility with all callers in this crate.
use create_exception;
// Create the custom exception type visible from Python.
create_exception!;
// Re-export shared error bridging from the common crate.
pub use SyntaErr;