9#include <QNetworkReply>
12#ifndef HTTPEXCEPTION_H
13#define HTTPEXCEPTION_H
23 HttpException(QNetworkReply::NetworkError
code,
const QByteArray& erroString = {});
27 const char *
what()
const noexcept override;
31 void raise()
const override;
32 QException *
clone()
const override;
34 QNetworkReply::NetworkError
code()
const;
38 QNetworkReply::NetworkError _code;
The HttpException class is base exaption that will raise on all errors of the HTTP protocol,...
QException * clone() const override
const char * what() const noexcept override
void raise() const override
QNetworkReply::NetworkError code() const