pyrit.exceptions.PyritException# exception PyritException(*, status_code: int = 500, message: str = 'An error occurred')[source]# Bases: Exception, ABC process_exception() → str[source]# Logs and returns a string representation of the exception.