mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 12:37:14 +01:00
17 lines
397 B
PHP
17 lines
397 B
PHP
<?php
|
|
|
|
namespace Xentral\Modules\TOTPLogin\Exception;
|
|
|
|
class TOTPUserNonExistantException extends \RuntimeException implements TOTPLoginExceptionInterface
|
|
{
|
|
/**
|
|
* @param int $userId
|
|
*
|
|
* @return TOTPUserNonExistantException
|
|
*/
|
|
public static function fromUserId($userId)
|
|
{
|
|
return new TOTPUserNonExistantException("User ID {$userId} is not existent");
|
|
}
|
|
}
|