crunchbutton/include/library/Github/Exception/ApiLimitExceedException.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

17 lines
380 B
PHP
Executable File

<?php
namespace Github\Exception;
/**
* ApiLimitExceedException
*
* @author Joseph Bielawski <stloyd@gmail.com>
*/
class ApiLimitExceedException extends RuntimeException
{
public function __construct($limit = 5000, $code = 0, $previous = null)
{
parent::__construct('You have reached GitHub hour limit! Actual limit is: '. $limit, $code, $previous);
}
}