Completed
Pull Request — master (#99)
by Šimon
06:04
created

QueryException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A cannotInsertEmptyValues() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ClickHouseDB\Exception;
6
7
use LogicException;
8
9
class QueryException extends LogicException implements ClickHouseException
0 ignored issues
show
introduced by
Superfluous suffix "Exception".
Loading history...
10
{
11
    public static function cannotInsertEmptyValues() : self
12
    {
13
        return new self('Inserting empty values array is not supported in ClickHouse');
14
    }
15
}
16