alltube-library/classes/Exception/InvalidTimeException.php

20 lines
344 B
PHP
Raw Normal View History

<?php
namespace Alltube\Library\Exception;
/**
* Invalid time.
*/
class InvalidTimeException extends AlltubeLibraryException
{
/**
* InvalidTimeException constructor.
* @param string $time Invalid time
*/
2020-10-17 22:47:16 +02:00
public function __construct(string $time)
{
parent::__construct('Invalid time: ' . $time);
}
}