29 lines
565 B
PHP
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;
|
|
}
|
|
}
|