"""PEP 249 exceptions — re-exported from ob-driver-core for convenience.

Allows users to do: ``from ob_snowflake.exceptions import ProgrammingError``
"""

from __future__ import annotations

from ob_driver_core.exceptions import (
    DataError,
    DatabaseError,
    Error,
    IntegrityError,
    InterfaceError,
    InternalError,
    NotSupportedError,
    OperationalError,
    ProgrammingError,
    Warning,
)

__all__ = [
    "Warning",
    "Error",
    "InterfaceError",
    "DatabaseError",
    "DataError",
    "OperationalError",
    "IntegrityError",
    "InternalError",
    "ProgrammingError",
    "NotSupportedError",
]
