mirror of
https://github.com/zoe-may/TDoG-Skin.git
synced 2024-11-24 22:02:22 +08:00
22 lines
409 B
PHP
Executable File
22 lines
409 B
PHP
Executable File
<?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');
|
|
}
|
|
}
|