API
This commit is contained in:
14
api/common/Exception/Database/BlankResult.php
Normal file
14
api/common/Exception/Database/BlankResult.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
namespace ProVM\Common\Exception\Database;
|
||||
|
||||
use Exception;
|
||||
|
||||
class BlankResult extends Exception
|
||||
{
|
||||
public function __construct(?Throwable $previous = null)
|
||||
{
|
||||
$message = "No results found";
|
||||
$code = 300;
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user