Files
AeonDumpManager/src/Service/Exception/DumpBinaryNotFoundException.php
T

17 lines
456 B
PHP

<?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)
));
}
}