wiki.techinc.nl/tests/phpunit/includes/libs/objectcache
Aaron Schulz 8f6d05e62c objectcache: add watchErrors() to BagOStuff/WANObjectCache
The new style of checking for the last error during a section of
calls is more robust since it allows nesting of callers. Typically,
an external caller will want to watch a section of code that will
involve zero or more internally watched sections. Errors that are
seen internally (leading to a failing response) should also be
visible externally.

Replace internal BagOStuff clearLastError() calls.

Replace WANObjectCache clearLastError() calls. Such a class should not
clear the error codes since the class is effectively "internal". Callers
that are more meaningfully "external" might want to check the errors.

Cleanup "last" error handling for proxy backends.

Change-Id: I281817a85602967c0ec2bdd23a5d8be101680b64
2021-11-10 00:38:27 +00:00
..
APCUBagOStuffTest.php
BagOStuffTest.php
BagOStuffTestBase.php objectcache: add watchErrors() to BagOStuff/WANObjectCache 2021-11-10 00:38:27 +00:00
MultiWriteBagOStuffTest.php objectcache: add watchErrors() to BagOStuff/WANObjectCache 2021-11-10 00:38:27 +00:00