BookStack/app/Exceptions/UserTokenExpiredException.php

21 lines
390 B
PHP
Raw Normal View History

2021-06-26 23:23:15 +08:00
<?php
namespace BookStack\Exceptions;
2019-08-17 22:52:33 +08:00
class UserTokenExpiredException extends \Exception
{
2019-08-17 22:52:33 +08:00
public $userId;
/**
* UserTokenExpiredException constructor.
2021-06-26 23:23:15 +08:00
*
2019-08-17 22:52:33 +08:00
* @param string $message
2021-06-26 23:23:15 +08:00
* @param int $userId
2019-08-17 22:52:33 +08:00
*/
public function __construct(string $message, int $userId)
{
$this->userId = $userId;
parent::__construct($message);
}
}