<?php

namespace Spatie\DbDumper\Exceptions;

use Exception;

class InvalidDatabaseUrl extends Exception
{
    public static function invalidUrl(string $databaseUrl): self
    {
        return new self("Database URL `{$databaseUrl}` is invalid and cannot be parsed.");
    }
}
