PySNMP Project Logo

Project diary
Documentation
Examples
License
Download
Mailing lists

Projects using PySNMP
TwistedSNMP
Zenoss


Relevant projects
SNMPy
YAPSNMP
LibSMI
Scotty software

SourceForge Logo

PySNMP error handling

Almost all of PySNMP modules are designed to report various error conditions in form of Python exceptions. The pysnmp.error module defines a base class for all PySNMP exception classes.

class General([err_msg])

Base exception class for all exceptions raised by the The pysnmp.* modules.

The optional err_str argument (string) may be used to store verbose error message to class instance which may later be returned by General._str__() method invocation.


Subsections


Need help? Try PySNMP mailing lists.