SNMP 2.0.0
|
Helper struct to handle SNMP error. More...
#include <src/BER.h>
Public Types | |
enum | : uint8_t { NoError , TooBig , NoSuchName , BadValue , ReadOnly , GenErr , NoAccess , WrongType , WrongLength , WrongEncoding , WrongValue , NoCreation , InconsistentValue , ResourceUnavailable , CommitFailed , UndoFailed , AuthorizationError , NotWritable , InconsistentName } |
Enumerates all possible error codes. More... | |
Public Member Functions | |
Error () | |
Initializes to default values. | |
Public Attributes | |
uint8_t | _status |
uint8_t | _index |
Helper struct to handle SNMP error.
An error has 2 elements.
anonymous enum : uint8_t |
Enumerates all possible error codes.
|
inline |
uint8_t SNMP::Error::_index |
Error index.
Definition at line 114 of file BER.h.
Referenced by SNMP::Message::build(), Error(), SNMP::Message::getErrorIndex(), SNMP::Message::parse(), and SNMP::Message::setError().
uint8_t SNMP::Error::_status |
Error status.
Definition at line 112 of file BER.h.
Referenced by SNMP::Message::build(), Error(), SNMP::Message::getErrorStatus(), SNMP::Message::parse(), and SNMP::Message::setError().