fix: root namespace for sqlite3 exceptions (#2)

This commit is contained in:
Victor Westerlund 2023-04-25 13:02:56 +02:00 committed by GitHub
parent 3b24c605c9
commit cc3a5493c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
// Check write permissions of database
if (!is_writeable($path)) {
throw new Error("Permission denied: Can not write to directory '{$path}'");
throw new \Error("Permission denied: Can not write to directory '{$path}'");
}
// Database doesn't exist and an init file as been provided