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