feat(dump): locate mysqldump/mariadb-dump binary

This commit is contained in:
2026-09-14 22:00:26 +02:00
parent d0e8ea582f
commit 44e7648e06
3 changed files with 66 additions and 0 deletions
@@ -0,0 +1,16 @@
<?php declare(strict_types=1);
namespace AeonDumpManager\Service\Exception;
use RuntimeException;
class DumpBinaryNotFoundException extends RuntimeException
{
public static function create(array $searched): self
{
return new self(sprintf(
'Could not find a dump binary. Searched for: %s. Configure "dumpBinaryPath" in the plugin settings to point at one explicitly.',
implode(', ', $searched)
));
}
}