Simplify PSR-4 autoload
This commit is contained in:
parent
8eb280bab0
commit
dfdf6fef76
12 changed files with 1 additions and 2 deletions
18
classes/Exception/AvconvException.php
Normal file
18
classes/Exception/AvconvException.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?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.
|
||||
*/
|
||||
public function __construct($path)
|
||||
{
|
||||
parent::__construct("Can't find avconv or ffmpeg at " . $path . '.');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue