this post was submitted on 09 Dec 2023
615 points (99.0% liked)

Programmer Humor

33267 readers
926 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

Ping DNS to decide whether to report that there's no internet connection or no servers online.

[โ€“] PeriodicallyPedantic 1 points 1 year ago

I'm assuming this is the error you get if the client is online, because there is literally nothing the user can do besides wait.

Although it'll become pretty apparent pretty quickly if the client device is offline when the user tries to do almost anything else, so I wouldn't even blame them for not thinking it's worth the small effort to differentiate