Coverage for src/bwd/exceptions.py: 100%

1 statements  

« prev     ^ index     » next       coverage.py v7.11.3, created at 2025-11-12 11:56 +0000

1"""Custom exceptions for the BWD package.""" 

2 

3 

4class SampleSizeExpendedError(Exception): 

5 """Exception raised when the sample size has been exceeded 

6 

7 This exception is raised when attempting to assign treatment to more units 

8 than the initially specified sample size N. It is typically caught by the 

9 Online wrapper to automatically expand the sample size. 

10 """