Thanks everyone for responses, I've committed an initial version of the
patch. I've adjusted my original patch based on suggestions here,
basically, added 'driver' property for base exception and added an 
exception for malformed response.

I was not sure what to pass as 'driver' argument and decided to pass
a driver class so user could extract properties like 'name' or 'type'.
I though about passing instance of the class but it's not easily
accessible in every part of driver code.

Roman Bogorodskiy

Attachment: pgp6eCZHdpevv.pgp
Description: PGP signature

Reply via email to