langref/errorset: Replace subset description with union

The previous language using subsets was really just stating a couple
of the properties of the union of a group of sets, and with a minor
error at that.
This commit is contained in:
Frank Plowman 2024-09-28 12:40:08 +01:00 committed by Alex Rønne Petersen
parent 43e52ec5c5
commit bf7bc4ff01

View file

@ -2937,8 +2937,7 @@ or
</p>
{#header_open|The Global Error Set#}
<p>{#syntax#}anyerror{#endsyntax#} refers to the global error set.
This is the error set that contains all errors in the entire compilation unit.
It is a superset of all other error sets and a subset of none of them.
This is the error set that contains all errors in the entire compilation unit, i.e. it is the union of all other error sets.
</p>
<p>
You can {#link|coerce|Type Coercion#} any error set to the global one, and you can explicitly