diff --git a/lib/nntp/tiny/client.py b/lib/nntp/tiny/client.py index 12a4b14..3730e31 100644 --- a/lib/nntp/tiny/client.py +++ b/lib/nntp/tiny/client.py @@ -21,7 +21,11 @@ from nntp.tiny.remote import ( ) class ClientException(Exception): - pass + def __init__(self, response: Response): + self.response = response + + def __str__(self): + return str(self.response) class ClientEOFException(ClientException): def __str__(self):