feat: add app and database modules

This commit is contained in:
2026-05-21 16:05:11 +07:00
parent 37b7e783f5
commit fad70d096b
212 changed files with 23901 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace App\Exceptions;
use RuntimeException;
class MonitoringException extends RuntimeException
{
public static function unsupportedOs(string $os): self
{
return new self("Monitoring is not implemented for OS family: {$os}");
}
public static function probeFailed(string $probe, string $reason): self
{
return new self("Probe '{$probe}' failed: {$reason}");
}
}