done
This commit is contained in:
		
							
								
								
									
										26
									
								
								lib/python3.11/site-packages/dash/testing/errors.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								lib/python3.11/site-packages/dash/testing/errors.py
									
									
									
									
									
										Normal file
									
								
							@ -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."""
 | 
			
		||||
		Reference in New Issue
	
	Block a user