aboutsummaryrefslogtreecommitdiff
path: root/venv/lib/python3.8/site-packages/dash/testing/errors.py
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2025-07-31 17:27:24 -0400
committersotech117 <michael_foiani@brown.edu>2025-07-31 17:27:24 -0400
commit5bf22fc7e3c392c8bd44315ca2d06d7dca7d084e (patch)
tree8dacb0f195df1c0788d36dd0064f6bbaa3143ede /venv/lib/python3.8/site-packages/dash/testing/errors.py
parentb832d364da8c2efe09e3f75828caf73c50d01ce3 (diff)
add code for analysis of data
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.py26
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."""