AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
axiam::NetworkError Class Reference

Transport-level failure: connection refused, timeout, TLS error, DNS failure, malformed request (400), rate-limit (408/429) or server error (5xx). More...

#include <errors.hpp>

Inheritance diagram for axiam::NetworkError:
axiam::AxiamError

Public Member Functions

 NetworkError (const std::string &message)
 
 NetworkError (const std::string &message, std::string cause)
 
const std::string & cause () const noexcept
 The underlying OS / transport error that triggered this failure.
 
- Public Member Functions inherited from axiam::AxiamError
 AxiamError (const std::string &message)
 

Detailed Description

Transport-level failure: connection refused, timeout, TLS error, DNS failure, malformed request (400), rate-limit (408/429) or server error (5xx).

Carries the underlying transport cause string.

Constructor & Destructor Documentation

◆ NetworkError() [1/2]

axiam::NetworkError::NetworkError ( const std::string &  message)
inlineexplicit

◆ NetworkError() [2/2]

axiam::NetworkError::NetworkError ( const std::string &  message,
std::string  cause 
)
inline

Member Function Documentation

◆ cause()

const std::string & axiam::NetworkError::cause ( ) const
inlinenoexcept

The underlying OS / transport error that triggered this failure.


The documentation for this class was generated from the following file: