Reorder and Added missing databases

This commit is contained in:
2023-02-28 23:41:51 -03:00
parent a326904825
commit 99344fda7d
17 changed files with 260 additions and 251 deletions

View File

@ -0,0 +1,20 @@
<?php
namespace ProVM\Exception\Database;
use Throwable;
use ProVM\Exception\Database;
class BlankResult extends Database
{
public function __construct(?string $table = null, ?string $query = null, ?Throwable $previous = null)
{
$message = implode('', [
"No results found",
($query !== null) ? " in {$query}" : '',
($table !== null) ? " in {$table}" : '',
'.'
]);
$code = 1;
parent::__construct($message, $code, $previous);
}
}