QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NTRIPError.h
Go to the documentation of this file.
1#pragma once
2
3#include <chrono>
4
5#include <QtCore/QMetaType>
6#include <QtCore/QString>
7
8namespace NTRIPErrors {
9Q_NAMESPACE
10
28Q_ENUM_NS(NTRIPError)
29
30} // namespace NTRIPErrors
31
33
34struct [[nodiscard]] NTRIPFailure
35{
37 static constexpr std::chrono::milliseconds MAX_RETRY_AFTER{std::chrono::minutes(5)};
38
39 NTRIPError code = NTRIPError::Unknown;
40 QString detail;
41 std::chrono::milliseconds retryAfter{0};
42};
@ RequestRejected
HTTP 400 or 403: the caster refuses the request as sent, so repeating it cannot succeed.
QString detail
Definition NTRIPError.h:40