Components of pysnmp.proto.api package may raise exceptions based on the following classes:
Instances of this class represent an exception occurred in the pysnmp.proto.api code. This is a subclass of error.ProtoError class, and a base class for more specific, package-wide exceptions.
Instances of this class represent a bad argument exception occurred in the pysnmp.proto.api code. This is a subclass of ProtoApiError class.
Neither of the above classes defines additional methods to their base classes.