| 269 | |
| 270 | |
| 271 | class InvalidValueException(Exception): |
| 272 | def __init__(self, param_name, validation_error) -> None: |
| 273 | super().__init__(validation_error) |
| 274 | self.param_name = param_name |
| 275 | |
| 276 | def get_user_message(self): |
| 277 | return 'Invalid value for "' + self.param_name + '": ' + str(self) |
| 278 | |
| 279 | |
| 280 | class InvalidValueTypeException(Exception): |
no outgoing calls
no test coverage detected