snmpa_error_report(3erl)

πŸ“¦
version 25.3.2.8 Β· 4 versions
, in ubuntu noble

πŸ’– 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/2
  • user_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