Commit 64cf0ee5 authored by Geoff Simmons's avatar Geoff Simmons

Document the "no such element" error message.

parent 6da7aca9
......@@ -261,12 +261,14 @@ as follows:
lookup in an associative array.
If ``element`` is set but the lookup fails, that is if there is no
such element in the set, then VCL failure is invoked. If the lookup
for the ``element`` succeeds, then the successful match establishes
a match context for subsequent code. That means that the rules
presently described can be applied again, as if ``.match()`` had
returned ``true`` for the ``element`` (internally, that is in fact
what happens).
such element in the set, then VCL failure is invoked, with the
string "no such element" in the ``VCL_Error`` log message.
If the lookup for the ``element`` succeeds, then the successful
match establishes a match context for subsequent code. That means
that the rules presently described can be applied again, as if
``.match()`` had returned ``true`` for the ``element`` (internally,
that is in fact what happens).
The internal match against ``element`` is case sensitive if and only
if the ``case_sensitive`` flag was ``true`` in the set constructor
......
......@@ -257,12 +257,14 @@ as follows:
lookup in an associative array.
If ``element`` is set but the lookup fails, that is if there is no
such element in the set, then VCL failure is invoked. If the lookup
for the ``element`` succeeds, then the successful match establishes
a match context for subsequent code. That means that the rules
presently described can be applied again, as if ``.match()`` had
returned ``true`` for the ``element`` (internally, that is in fact
what happens).
such element in the set, then VCL failure is invoked, with the
string "no such element" in the ``VCL_Error`` log message.
If the lookup for the ``element`` succeeds, then the successful
match establishes a match context for subsequent code. That means
that the rules presently described can be applied again, as if
``.match()`` had returned ``true`` for the ``element`` (internally,
that is in fact what happens).
The internal match against ``element`` is case sensitive if and only
if the ``case_sensitive`` flag was ``true`` in the set constructor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment