.TH snmpa_error_io 3erl "snmp 5.15" "Ericsson AB" "Erlang Module Definition" .SH NAME snmpa_error_io \- Functions for Reporting SNMP Errors on stdio .SH DESCRIPTION .LP The module \fIsnmpa_error_io\fR\& implements the \fIsnmp_error_report\fR\& behaviour (see snmpa_error_report) containing two callback functions which are called in order to report SNMP errors\&. .LP This module provides a simple mechanism for reporting SNMP errors\&. Errors are written to stdout using the \fIio\fR\& module\&. It is provided as an simple example\&. .LP This module needs to be explicitly configured, see snmpa_error and configuration parameters\&. .SH EXPORTS .LP .B config_err(Format, Args) -> void() .br .RS .LP Types: .RS 3 Format = string() .br Args = list() .br .RE .RE .RS .LP The function is called if an error occurs during the configuration phase, for example if a syntax error is found in a configuration file\&. .LP \fIFormat\fR\& and \fIArgs\fR\& are as in \fIio:format(Format, Args)\fR\&\&. .RE .LP .B user_err(Format, Args) -> void() .br .RS .LP Types: .RS 3 Format = string() .br Args = list() .br .RE .RE .RS .LP The function is called if a user related error occurs at run-time, for example if a user defined instrumentation function returns erroneous\&. .LP \fIFormat\fR\& and \fIArgs\fR\& are as in \fIio:format(Format, Args)\fR\&\&. .RE