You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
415 B

6 years ago
<?php
namespace Github\Exception;
class TwoFactorAuthenticationRequiredException extends RuntimeException
{
private $type;
public function __construct($type, $code = 0, $previous = null)
{
$this->type = $type;
parent::__construct('Two factor authentication is enabled on this account', $code, $previous);
}
public function getType()
{
return $this->type;
}
}