From 904c1dbe1115b927cb05149ff4afc44c804f680b Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Fri, 2 Oct 2026 19:54:23 +0100 Subject: [PATCH] Rewrite snmp.methods.exceptions_enable.refsect --- language-snippets.ent | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/language-snippets.ent b/language-snippets.ent index 7b7bc13ad5c0..81a205b8f759 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -2661,11 +2661,9 @@ to be references, then they must be references in the passed argument list.'> &reftitle.errors; - This method does not throw any exceptions by default. - To enable throwing an SNMPException exception when some of library errors occur - the SNMP class parameter exceptions_enabled - should be set to a corresponding value. See - SNMP::$exceptions_enabled explanation for more details. + Throws an SNMPException if a library error occurs + and its type is included in the SNMP::$exceptions_enabled bitmask. + Otherwise, emits an E_WARNING. '>