swoole-framwork/vendor/illuminate/database/SQLiteDatabaseDoesNotExistException.php

29 lines
565 B
PHP
Raw Normal View History

2024-05-20 11:51:07 +08:00
<?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;
}
}