<?php

namespace WP_Ultimo\Dependencies\Spatie\SslCertificate\Exceptions;

use Exception;
class InvalidUrl extends Exception
{
    public static function couldNotValidate(string $url) : self
    {
        return new static("String `{$url}` is not a valid url.");
    }
    public static function couldNotDetermineHost(string $url) : self
    {
        return new static("Could not determine host from url `{$url}`.");
    }
}
