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