alltube-library/classes/exceptions/InvalidTimeException.php
Pierre Rudloff 98b74fd6f2 Initial import from Alltube app
Removed dependency on Config and LocaleManager classes
Avoid using generic exceptions
2020-06-20 19:19:37 +02:00

19 lines
337 B
PHP

<?php
namespace Alltube\Library\Exception;
/**
* Invalid time.
*/
class InvalidTimeException extends AlltubeLibraryException
{
/**
* InvalidTimeException constructor.
* @param string $time Invalid time
*/
public function __construct($time)
{
parent::__construct('Invalid time: ' . $time);
}
}