alltube-library/classes/exceptions/AvconvException.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

20 lines
393 B
PHP

<?php
namespace Alltube\Library\Exception;
use Throwable;
/**
* Can't find avconv or ffmpeg.
*/
class AvconvException extends AlltubeLibraryException
{
/**
* AvconvException constructor.
* @param string $path Path to avconv or ffmpeg.
*/
public function __construct($path)
{
parent::__construct("Can't find avconv or ffmpeg at " . $path . '.');
}
}