Coverage for django_napse/utils/errors/sims.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-03-12 13:49 +0000

1class SimulationError: 

2 """Base class for simulation errors.""" 

3 

4 class InvalidData(Exception): 

5 """Raised when invalid data is passed.""" 

6 

7 class BotSimQueueError(Exception): 

8 """Raised when an error occurs in a BotSimQueue.""" 

9 

10 class CancelledSimulationError(Exception): 

11 """Raised when a simulation is cancelled.""" 

12 

13 

14class DataSetError: 

15 """Base class for DataSet errors.""" 

16 

17 class DataSetQueueError(Exception): 

18 """Raised when an error occurs in a DataSetQueue.""" 

19 

20 class InvalidSettings(Exception): 

21 """Raised when an invalid setting is passed."""