Skip to content

Commit

Permalink
Document error change to libxml_set_streams_context()
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Nov 12, 2024
1 parent ac3a6be commit 25027c9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions reference/libxml/functions/libxml-set-streams-context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,39 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<para>
Throws a <classname>TypeError</classname> when a non-stream resource is
passed to <parameter>context</parameter>.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<function>libxml_set_streams_context</function> now throws a
<classname>TypeError</classname> when a non-stream resource is passed
to <parameter>context</parameter>, instead of throwing later when the
context is used.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down

0 comments on commit 25027c9

Please sign in to comment.