diff options
Diffstat (limited to 'venv/lib/python3.8/site-packages/dash/testing/errors.py')
-rw-r--r-- | venv/lib/python3.8/site-packages/dash/testing/errors.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/venv/lib/python3.8/site-packages/dash/testing/errors.py b/venv/lib/python3.8/site-packages/dash/testing/errors.py new file mode 100644 index 0000000..772386d --- /dev/null +++ b/venv/lib/python3.8/site-packages/dash/testing/errors.py @@ -0,0 +1,26 @@ +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.""" |