array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'class.snmpexception.php', 1 => 'SNMPException', ), 'up' => array ( 0 => 'book.snmp.php', 1 => 'SNMP', ), 'prev' => array ( 0 => 'snmp.walk.php', 1 => 'SNMP::walk', ), 'next' => array ( 0 => 'book.sockets.php', 1 => 'Sockets', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/snmp/snmpexception.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.4.0, PHP 7, PHP 8)
Represents an error raised by SNMP. You should not throw a SNMPException from your own code. See Exceptions for more information about Exceptions in PHP.
SNMP
library error code. Use Exception::getCode() to access it.