Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class InvalidQueryDeleteException extends \Exception |
||
15 | { |
||
16 | |||
17 | const MSG_CONDITION = 'Delete requires at least one condition'; |
||
18 | |||
19 | /** |
||
20 | * constructor |
||
21 | * |
||
22 | * @param string $message |
||
23 | * @param integer $code |
||
24 | */ |
||
25 | public function __construct(string $message, int $code = 13) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * retuns message |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function __toString() |
||
40 |