IPWorks SNMP 2020 Python Edition

Questions / Feedback?

error_index Property

Index of the first variable (object) that caused an error from the last SNMP response.

Syntax

def get_error_index() -> int: ...

error_index = property(get_error_index, None)

Default Value

0

Remarks

This property is used in conjunction with the error_status property, and refers to the object that caused the error reported in the last SNMP response. This value is parsed directly from the SNMP response, which will be a one-based value, so a value of i here maps to index i-1 in the objects collection.

The error_index property has no meaning when the error_status property is 0 (no error).

This property is read-only.

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