27 lines
599 B
Python
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."""
|