Namespaces are one honking great idea—let's do more of those!

This commit is contained in:
Shish
2023-01-10 22:44:09 +00:00
parent 90c419b0c4
commit bce2d55744
470 changed files with 1163 additions and 103 deletions

View File

@@ -2,10 +2,12 @@
declare(strict_types=1);
namespace Shimmie2;
/**
* A base exception to be caught by the upper levels.
*/
class SCoreException extends RuntimeException
class SCoreException extends \RuntimeException
{
public ?string $query;
public string $error;
@@ -19,7 +21,7 @@ class SCoreException extends RuntimeException
}
}
class InstallerException extends RuntimeException
class InstallerException extends \RuntimeException
{
public string $title;
public string $body;