This commit is contained in:
Chris
2018-10-18 15:59:38 +01:00
parent 4f6a0cb7c6
commit 380a0e8623
352 changed files with 32929 additions and 3604 deletions

View File

@@ -0,0 +1,19 @@
<?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;
}
}