Google

LINK="#0000bb" VLINK="#551a8b" ALINK="#ff0000">

The pysnmp.asn1 package - error handling

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

class Asn1Error([err_msg])

Instances of this class represent an exception occurred in the pysnmp.asn1 code. This is a subclass of pysnmp.error.PySNNPError class, and a base class for more specific, package-wide exceptions.

class BadArgumentError([err_msg])

Instances of this class represent a bad argument exception occurred in the pysnmp.asn1 code. This is a subclass of Asn1Error class.

class ValueConstraintError([err_msg])

Instances of this class represent a ASN.1 object value constraint occurred on value assignment. This is a subclass of Asn1Error class.


Subsections

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


ilya@glas.net