Files
faveo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/InvalidArgumentException.php
RafficMohammed da241bacb6 updated-packages
2023-01-08 00:13:22 +05:30

22 lines
409 B
PHP

<?php
namespace Doctrine\DBAL\Exception;
use Doctrine\DBAL\Exception;
/**
* Exception to be thrown when invalid arguments are passed to any DBAL API
*
* @psalm-immutable
*/
class InvalidArgumentException extends Exception
{
/**
* @return self
*/
public static function fromEmptyCriteria()
{
return new self('Empty criteria was used, expected non-empty criteria');
}
}