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