[doc-en] master: Rewrite snmp.methods.exceptions_enable.refsect (#5907)

From: Date: Fri, 02 Oct 2026 18:57:22 +0000
Subject: [doc-en] master: Rewrite snmp.methods.exceptions_enable.refsect (#5907)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23804@lists.php.net to get a copy of this message
Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-10-02T19:57:19+01:00

Commit: https://github.com/php/doc-en/commit/6612b6206ccd2eaabbef9525d1dedced2bf108b3
Raw diff: https://github.com/php/doc-en/commit/6612b6206ccd2eaabbef9525d1dedced2bf108b3.diff

Rewrite snmp.methods.exceptions_enable.refsect (#5907)

Changed paths:
  M  language-snippets.ent


Diff:

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.'>
 <!ENTITY snmp.methods.exceptions_enable.refsect '<refsect1 role="errors"
xmlns="http://docbook.org/ns/docbook">
 &reftitle.errors;
 <simpara>
- 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 <parameter>exceptions_enabled</parameter>
- should be set to a corresponding value. See <link
linkend="snmp.props.exceptions-enabled">
- <parameter>SNMP::$exceptions_enabled</parameter> explanation</link> for more
details.
+ Throws an <exceptionname>SNMPException</exceptionname> if a library error occurs
+ and its type is included in the <property>SNMP::$exceptions_enabled</property>
bitmask.
+ Otherwise, emits an <constant>E_WARNING</constant>.
 </simpara>
 </refsect1>
 '>


Thread (1 message)

  • Kamil Tekiela via GitHub
« previous php.doc.cvs (#23804) next »