swoole-framwork/vendor/illuminate/database/SQLiteDatabaseDoesNotExistException.php
2024-05-20 11:51:07 +08:00

29 lines
565 B
PHP

<?php
namespace Illuminate\Database;
use InvalidArgumentException;
class SQLiteDatabaseDoesNotExistException extends InvalidArgumentException
{
/**
* The path to the database.
*
* @var string
*/
public $path;
/**
* Create a new exception instance.
*
* @param string $path
* @return void
*/
public function __construct($path)
{
parent::__construct("Database file at path [{$path}] does not exist. Ensure this is an absolute path to the database.");
$this->path = $path;
}
}