"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from .traintravelerror import TrainTravelError
from typing import TYPE_CHECKING

from train_travel.utils.dynamic_imports import lazy_getattr, lazy_dir

if TYPE_CHECKING:
    from .no_response_error import NoResponseError
    from .responsevalidationerror import ResponseValidationError
    from .traintraveldefaulterror import TrainTravelDefaultError

__all__ = [
    "NoResponseError",
    "ResponseValidationError",
    "TrainTravelDefaultError",
    "TrainTravelError",
]

_dynamic_imports: dict[str, str] = {
    "NoResponseError": ".no_response_error",
    "ResponseValidationError": ".responsevalidationerror",
    "TrainTravelDefaultError": ".traintraveldefaulterror",
}


def __getattr__(attr_name: str) -> object:
    return lazy_getattr(
        attr_name, package=__package__, dynamic_imports=_dynamic_imports
    )


def __dir__():
    return lazy_dir(dynamic_imports=_dynamic_imports)
