snmpa_error_report(3erl)
π NAME π
snmpa_error_report β behaviour module for reporting SNMP agent errors. This is the snmpa_error_report(3erl) manual page, and it's an Erlang module definition, bestie. π
β¨ DESCRIPTION β¨
So this module defines the behaviour of the agent error reporting. Periodt. A snmpa_error_report compliant module must export the following functions:
config_err/2user_err/2
The semantics of them and their exact signatures are explained below, no cap. π
πΈ EXPORTS πΈ
π config_err/2 π
config_err(Format, Args) -> void()
Types:
Format = string()
Args = list()
This function is called if an error occurs during the configuration phase β for example if a syntax error is found in a configuration file. π«Ά
Format and Args are as in io:format(Format, Args).
π¦ user_err/2 π¦
user_err(Format, Args) -> void()
Types:
Format = string()
Args = list()
This function is called if a user related error occurs at run-time β for example if a user defined instrumentation function returns erroneous. π
Format and Args are as in io:format(Format, Args).
okay that's the whole page, bestie π huge shoutout to Ericsson AB, snmp 5.13.5, and the snmpa_error_report(3erl) footer β no date line in this one, but the vibes are immaculate β¨
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms