complains.php + confirm_resend.php add lock

This commit is contained in:
xiaomlove
2025-09-21 14:43:00 +07:00
parent d16a864841
commit c74c36d434
5 changed files with 39 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
<?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;
}
}