1snmpa_error_report(3)      Erlang Module Definition      snmpa_error_report(3)
2
3
4

NAME

6       snmpa_error_report - Behaviour module for reporting SNMP agent errors
7

DESCRIPTION

9       This  module  defines the behaviour of the agent error reporting. A sn‐
10       mpa_error_report compliant module must export the following functions:
11
12         * config_err/2
13
14         * user_err/2
15
16       The semantics of them and their exact signatures are explained below.
17

EXPORTS

19       config_err(Format, Args) -> void()
20
21              Types:
22
23                 Format = string()
24                 Args = list()
25
26              The function is called if an error occurs during the  configura‐
27              tion phase, for example if a syntax error is found in a configu‐
28              ration file.
29
30              Format and Args are as in io:format(Format, Args).
31
32       user_err(Format, Args) -> void()
33
34              Types:
35
36                 Format = string()
37                 Args = list()
38
39              The function is called if a user related error  occurs  at  run-
40              time, for example if a user defined instrumentation function re‐
41              turns erroneous.
42
43              Format and Args are as in io:format(Format, Args).
44
45
46
47Ericsson AB                       snmp 5.13.3            snmpa_error_report(3)
Impressum