Same as self.error(InvalidMessageError, ...).
(self, *args, **kwargs)
| 518 | return exc |
| 519 | |
| 520 | def isnt_valid(self, *args, **kwargs): |
| 521 | """Same as self.error(InvalidMessageError, ...).""" |
| 522 | return self.error(InvalidMessageError, *args, **kwargs) |
| 523 | |
| 524 | def cant_handle(self, *args, **kwargs): |
| 525 | """Same as self.error(MessageHandlingError, ...).""" |
no test coverage detected