TODO: Implement checking endpoint availability on startup

This commit is contained in:
TypoMustakes
2024-01-08 16:58:37 +01:00
parent bd20c6dae7
commit 0538bac931

View File

@@ -247,4 +247,19 @@ namespace WD7UVN_HFT_2023241.Client
}
public string Msg { get; set; }
}
public class EndpointNotAvailableException : Exception
{
public EndpointNotAvailableException() : base("The client could not reach the API endpoint.")
{
}
public EndpointNotAvailableException(string message) : base(message)
{
}
public EndpointNotAvailableException(string message, Exception innerException) : base(message, innerException)
{
}
}
}