pwnlib.exception — Pwnlib exceptions

exception pwnlib.exception.PwnlibException(message, reason=None, exit_code=None)[source]

Exception thrown by pwnlib.log.error().

Pwnlib functions that encounters unrecoverable errors should call the pwnlib.log.error() function instead of throwing this exception directly.