wg-backend-django/dell-env/lib/python3.11/site-packages/dash/testing/errors.py

27 lines
599 B
Python
Raw Normal View History

2023-10-30 03:40:43 -04:00
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."""