Files
nexusphp/app/Exceptions/LockFailException.php
2025-09-21 14:43:00 +07:00

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;
}
}