for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\Backup\Exceptions;
use Exception;
class InvalidConfiguration extends Exception
{
public static function cannotUseUnsupportedDriver(string $connectionName, string $driverName): self
return new static("Db connection `{$connectionName}` uses an unsupported driver `{$driverName}`. Only `mysql` and `pgsql` are supported.");
}