Raised when a value provided in a user config file fails validation.
| 39 | |
| 40 | |
| 41 | class OptionParseFailure(Exception): |
| 42 | """Raised when a value provided in a user config file fails validation.""" |
| 43 | |
| 44 | def __init__(self, error): |
| 45 | super().__init__() |
| 46 | self.error = error |
| 47 | |
| 48 | |
| 49 | class ValidatedValue(ABC): |
no outgoing calls
no test coverage detected