RequestTimeout
Request timeout library for Excimer with plain PHP fallback
Loading...
Searching...
No Matches
Wikimedia\RequestTimeout\CriticalSectionMismatchException Class Reference

An exception thrown when CriticalSectionProvider::exit() is called with a name not matching the one used in the prior CriticalSectionProvider::enter() call. More...

+ Inheritance diagram for Wikimedia\RequestTimeout\CriticalSectionMismatchException:
+ Collaboration diagram for Wikimedia\RequestTimeout\CriticalSectionMismatchException:

Public Member Functions

 __construct ( $actual, $expected)
 

Detailed Description

An exception thrown when CriticalSectionProvider::exit() is called with a name not matching the one used in the prior CriticalSectionProvider::enter() call.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\RequestTimeout\CriticalSectionMismatchException::__construct ( $actual,
$expected )
Parameters
string$actualThe name used in exit()
string$expectedThe name used in enter(), or "[none]" if there was no enter() call.

The documentation for this class was generated from the following file: