Expand LockConflictedException
docs
The goal of this is to reduce the chance of bad assumptions about lock acquisition behaviour. Fixes #40969
This commit is contained in:
parent
88dcf52964
commit
2e4335fc70
@ -11,9 +11,13 @@
|
||||
|
||||
namespace Symfony\Component\Lock\Exception;
|
||||
|
||||
use Symfony\Component\Lock\Lock;
|
||||
|
||||
/**
|
||||
* LockConflictedException is thrown when a lock is acquired by someone else.
|
||||
*
|
||||
* In non-blocking mode it is caught by {@see Lock::acquire()} and {@see Lock::acquireRead()}.
|
||||
*
|
||||
* @author Jérémy Derussé <jeremy@derusse.com>
|
||||
*/
|
||||
class LockConflictedException extends \RuntimeException implements ExceptionInterface
|
||||
|
Reference in New Issue
Block a user