Source code for pytest_dash.errors
"""Pytest-dash errors."""
[docs]class PytestDashError(Exception):
"""Base error for pytest-dash."""
[docs]class InvalidDriverError(PytestDashError):
"""An invalid selenium driver was specified."""
[docs]class NoAppFoundError(PytestDashError):
"""No `app` was found in the file."""
[docs]class DashAppLoadingError(PytestDashError):
"""The dash app failed to load"""
[docs]class MissingBehaviorError(PytestDashError):
"""A behavior was missing from the """
[docs]class ServerCloseError(PytestDashError):
"""Pytest-dash had trouble closing a server."""