namespace Cepis;
///
/// The request never completed: DNS, a refused connection, a timeout, TLS.
///
///
/// Thrown only after every configured attempt has failed. A cancellation
/// requested by the caller is not this — that surfaces as
/// , untouched.
///
public sealed class NetworkException : CepisException
{
/// Create the exception with a message.
/// what went wrong
public NetworkException(string message)
: base(message)
{
}
/// Create the exception with a message and an underlying cause.
/// what went wrong
/// the transport failure underneath
public NetworkException(string message, Exception? innerException)
: base(message, innerException)
{
}
}