3 namespace OpenEMR\Common\Auth\Exception
;
5 class OneTimeAuthException
extends \Exception
8 * @var int|null The pid of the patient that we attempting to run the onetime on
12 public function __construct(string $message = "", $pid = null, int $code = 0, ?Throwable
$previous = null)
14 parent
::__construct($message, $code, $previous);
15 $this->pid
= $pid ??
null;
18 public function getPid(): ?
int