2020-06-20 19:04:32 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Alltube\Library\Exception;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Can't find avconv or ffmpeg.
|
|
|
|
*/
|
|
|
|
class AvconvException extends AlltubeLibraryException
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* AvconvException constructor.
|
|
|
|
* @param string $path Path to avconv or ffmpeg.
|
|
|
|
*/
|
2020-10-17 22:47:16 +02:00
|
|
|
public function __construct(string $path)
|
2020-06-20 19:04:32 +02:00
|
|
|
{
|
|
|
|
parent::__construct("Can't find avconv or ffmpeg at " . $path . '.');
|
|
|
|
}
|
|
|
|
}
|