Dangerous SNMP
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
PDUErrorStatus Class Reference

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...
 

Detailed Description

This is a container class for the enumerations of the PDU "errorStatus" field.

Member Function Documentation

static const char* name ( int  errorStatus)
static

This returns a pointer to a statically allocated string that contains the standard name for the error status given.

Parameters
errorStatusThe error status value.
Returns
A pointer to the name of the value.

The documentation for this class was generated from the following file: