Dangerous SNMP
|
This is a container class for the enumerations of the PDU "errorStatus" field. More...
#include <pdu.hpp>
Public Types | |
enum | ErrorStatus { noError = 0, tooBig = 1, noSuchName = 2, badValue = 3, readOnly = 4, genErr = 5, noAccess = 6, wrongType = 7, wrongLength = 8, wrongEncoding = 9, wrongValue = 10, noCreation = 11, inconsistentValue = 12, resourceUnavailable = 13, commitFailed = 14, undoFailed = 15, authorizationError = 16, notWritable = 17, inconsistentName = 18 } |
An ErrorStatus represents the specific error for a PDU. | |
Static Public Member Functions | |
static const char * | name (int errorStatus) |
This returns a pointer to a statically allocated string that contains the standard name for the error status given. More... | |
This is a container class for the enumerations of the PDU "errorStatus" field.
|
static |
This returns a pointer to a statically allocated string that contains the standard name for the error status given.
errorStatus | The error status value. |