Improve auth error feedback with specific failure reasons, version mismatch details, and connection timeout

This commit is contained in:
Kelsi 2026-02-05 12:17:09 -08:00
parent 78442f8aea
commit a52e28191e
4 changed files with 56 additions and 26 deletions

View file

@ -53,6 +53,9 @@ private:
// Status
std::string statusMessage;
bool statusIsError = false;
std::string failureReason; // Specific reason from auth handler
float authTimer = 0.0f; // Timeout tracker
static constexpr float AUTH_TIMEOUT = 10.0f;
// Callbacks
std::function<void()> onSuccess;