ORE Studio 0.0.4
Loading...
Searching...
No Matches
session_expired_error Class Reference

Thrown when a session reaches its maximum allowed duration. More...

#include <session_expired_error.hpp>

Inherits runtime_error.

Collaboration diagram for session_expired_error:
Collaboration graph

Detailed Description

Thrown when a session reaches its maximum allowed duration.

Raised by nats_client::authenticated_request() when the server returns max_session_exceeded. Catching this specific type allows callers to distinguish a session expiry from other transport errors.