in src/YouTrackSharp/Connection.cs [27:36]
protected Connection(string serverUrl)
{
if (string.IsNullOrEmpty(serverUrl)
|| !Uri.TryCreate(EnsureTrailingSlash(serverUrl), UriKind.Absolute, out var serverUri))
{
throw new ArgumentException(Strings.ServerUrlIsInvalid, nameof(serverUrl));
}
ServerUri = serverUri;
}