Error Event

Errors that occur while loading/parsing MIB modules are fired through this event.

Syntax

ANSI (Cross Platform)
virtual int FireError(MibBrowserErrorEventParams *e);
typedef struct {
int ErrorCode;
const char *Description; int reserved; } MibBrowserErrorEventParams; Unicode (Windows) virtual INT FireError(MibBrowserErrorEventParams *e);
typedef struct {
INT ErrorCode;
LPCWSTR Description; INT reserved; } MibBrowserErrorEventParams;
- (void)onError:(int)errorCode :(NSString*)description;
#define EID_MIBBROWSER_ERROR 1

virtual INT IPWORKSSNMP_CALL FireError(INT &iErrorCode, LPSTR &lpszDescription);

Remarks

ErrorCode contains an error code and Description contains a textual description of the error. For a list of valid error codes and their descriptions, please refer to the Error Codes section.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 C++ Edition - Version 20.0 [Build 8202]