13 const QByteArray &erroString) {
17 if (erroString.size()) {
18 _errText = erroString;
21 _errText = QByteArray(
"Http request finished with code: ").
22 append(QString::number(
code).toLatin1());
27 return _errText.constData();
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
HttpException(QNetworkReply::NetworkError code, const QByteArray &erroString={})
QNetworkReply::NetworkError code() const