SQLiteDatabaseDoesNotExistException.php 565 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Illuminate\Database;
  3. use InvalidArgumentException;
  4. class SQLiteDatabaseDoesNotExistException extends InvalidArgumentException
  5. {
  6. /**
  7. * The path to the database.
  8. *
  9. * @var string
  10. */
  11. public $path;
  12. /**
  13. * Create a new exception instance.
  14. *
  15. * @param string $path
  16. * @return void
  17. */
  18. public function __construct($path)
  19. {
  20. parent::__construct("Database file at path [{$path}] does not exist. Ensure this is an absolute path to the database.");
  21. $this->path = $path;
  22. }
  23. }