mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
21 lines
392 B
PHP
21 lines
392 B
PHP
<?php
|
|
|
|
namespace App\Exceptions;
|
|
|
|
class LockFailException extends NexusException
|
|
{
|
|
public function __construct(protected string $lockName, protected string $lockOwner)
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
public function getLockName(): string
|
|
{
|
|
return $this->lockName;
|
|
}
|
|
public function getLockOwner(): string
|
|
{
|
|
return $this->lockOwner;
|
|
}
|
|
}
|