| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace malkusch\lock\exception; |
| 6 |
|
| 7 |
use RuntimeException; |
| 8 |
|
| 9 |
/** |
| 10 |
* Mutex exception. |
| 11 |
* |
| 12 |
* Generic exception for any other not covered reason. Usually extended by |
| 13 |
* child classes. |
| 14 |
* |
| 15 |
* @author Markus Malkusch <markus@malkusch.de> |
| 16 |
* @link bitcoin:1P5FAZ4QhXCuwYPnLZdk3PJsqePbu1UDDA Donations |
| 17 |
* @license WTFPL |
| 18 |
*/ |
| 19 |
class MutexException extends RuntimeException implements PhpLockException |
| 20 |
{ |
| 21 |
/** |
| 22 |
* @var int Not enough redis servers. |
| 23 |
*/ |
| 24 |
public const REDIS_NOT_ENOUGH_SERVERS = 1; |
| 25 |
} |
| 26 |
|