PySNMP: Protocol: API: Error handling

### The pysnmp.proto.api package collection - error handling

Components of pysnmp.proto.api package may raise exceptions based on the following classes:

class ProtoApiError([errMsg])

  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.

class BadArgumentError([errMsg])

  Instances of this class represent a bad argument exception occurred in the pysnmp.proto.api code. This is a subclass of ProtoApiError class.

Subsections

Neither of the above classes defines additional methods to their base classes.