19 lines
406 B
PHP
19 lines
406 B
PHP
|
<?php
|
||
|
|
||
|
namespace Alltube\Library\Exception;
|
||
|
|
||
|
/**
|
||
|
* Invalid conversion.
|
||
|
*/
|
||
|
class InvalidProtocolConversionException extends AlltubeLibraryException
|
||
|
{
|
||
|
/**
|
||
|
* InvalidProtocolConversionException constructor.
|
||
|
* @param string $protocol Protocol
|
||
|
*/
|
||
|
public function __construct($protocol)
|
||
|
{
|
||
|
parent::__construct($protocol . ' protocol is not supported in conversions.');
|
||
|
}
|
||
|
}
|