crunchbutton/include/library/Github/Exception/TwoFactorAuthenticationRequiredException.php
Devin Smith 41e8600690 more deployment changes
partial #3787
added support for deployment to any repo path.
added tagging system
2014-11-18 16:08:23 -08:00

20 lines
415 B
PHP
Executable File

<?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;
}
}