namespace Cepis;
///
/// A success status came back with a body that cannot be parsed.
///
///
/// In practice this means something between you and the API is answering
/// instead of it — a captive Wi-Fi portal, a corporate proxy, an HTML error
/// page. Useful as a diagnosis: the problem is not in your code.
///
public sealed class InvalidResponseException : CepisException
{
/// Create the exception with a message.
/// what went wrong
public InvalidResponseException(string message)
: base(message)
{
}
/// Create the exception with a message and an underlying cause.
/// what went wrong
/// the parse failure underneath
public InvalidResponseException(string message, Exception? innerException)
: base(message, innerException)
{
}
}