mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-30 23:52:40 +01:00
19 lines
380 B
PHP
19 lines
380 B
PHP
<?php namespace BookStack\Exceptions;
|
|
|
|
class UserTokenExpiredException extends \Exception
|
|
{
|
|
|
|
public $userId;
|
|
|
|
/**
|
|
* UserTokenExpiredException constructor.
|
|
* @param string $message
|
|
* @param int $userId
|
|
*/
|
|
public function __construct(string $message, int $userId)
|
|
{
|
|
$this->userId = $userId;
|
|
parent::__construct($message);
|
|
}
|
|
}
|