pyrit.exceptions.PyritException

pyrit.exceptions.PyritException#

exception PyritException(status_code=500, *, message: str = 'An error occurred')[source]#

Bases: Exception, ABC

process_exception() str[source]#

Logs and returns a string representation of the exception.