ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
nats_connect_error Class Reference

Thrown when a NATS connection or initial service check fails. More...

#include <nats_connect_error.hpp>

Inherits runtime_error.

Collaboration diagram for nats_connect_error:
Collaboration graph

Public Member Functions

 nats_connect_error (nats_error_kind kind, const std::string &msg)
 
nats_error_kind kind () const noexcept
 

Detailed Description

Thrown when a NATS connection or initial service check fails.

Carries a nats_error_kind so callers can distinguish "NATS is down", "TLS is misconfigured", "services are not started", etc. and surface a readable message in the login dialog.