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