error(message, *args, **kwargs) To be called outside an exception handler. Logs an error message, then raises a ``PwnlibException``.
(self, message, *args, **kwargs)
| 429 | return self.warning(*args, **kwargs) |
| 430 | |
| 431 | def error(self, message, *args, **kwargs): |
| 432 | """error(message, *args, **kwargs) |
| 433 | |
| 434 | To be called outside an exception handler. |
| 435 | |
| 436 | Logs an error message, then raises a ``PwnlibException``. |
| 437 | """ |
| 438 | self._log(logging.ERROR, message, args, kwargs, 'error') |
| 439 | raise PwnlibException(message % args) |
| 440 | |
| 441 | def exception(self, message, *args, **kwargs): |
| 442 | """exception(message, *args, **kwargs) |
no test coverage detected