php-ml/src/Phpml/Exception/InvalidArgumentException.php

18 lines
290 B
PHP
Raw Normal View History

2016-04-04 22:25:27 +02:00
<?php
declare(strict_types = 1);
namespace Phpml\Exception;
class InvalidArgumentException extends \Exception
{
/**
* @return InvalidArgumentException
*/
public static function sizeNotMatch()
2016-04-04 22:25:27 +02:00
{
return new self('Size of given arguments not match');
2016-04-04 22:25:27 +02:00
}
}