wg-backend-django/dell-env/lib/python3.11/site-packages/dash/testing/errors.py
2023-10-30 14:40:43 +07:00

27 lines
599 B
Python

class DashTestingError(Exception):
"""Base error for pytest-dash."""
class InvalidDriverError(DashTestingError):
"""An invalid selenium driver was specified."""
class NoAppFoundError(DashTestingError):
"""No `app` was found in the file."""
class DashAppLoadingError(DashTestingError):
"""The dash app failed to load."""
class ServerCloseError(DashTestingError):
"""The server cannot be closed."""
class TestingTimeoutError(DashTestingError):
"""All timeout error about dash testing."""
class BrowserError(DashTestingError):
"""All browser relevant errors."""