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

Emitted before each §16 retry wait. More...

#include <telemetry.hpp>

Public Attributes

std::string operation
 
int attempt = 1
 The attempt that just failed.
 
std::chrono::milliseconds delay {0}
 The wait about to be taken, after jitter and any Retry-After.
 
std::string reason
 A redacted description of the failure.
 

Detailed Description

Emitted before each §16 retry wait.

§16.5 requires this: a retried-then-succeeded operation is otherwise invisible — the caller sees a slow success and no signal that the server is failing. That silence is the standing objection to automatic retry.

Member Data Documentation

◆ operation

std::string axiam::RetryEvent::operation

◆ attempt

int axiam::RetryEvent::attempt = 1

The attempt that just failed.

◆ delay

std::chrono::milliseconds axiam::RetryEvent::delay {0}

The wait about to be taken, after jitter and any Retry-After.

◆ reason

std::string axiam::RetryEvent::reason

A redacted description of the failure.

Carries a status or a transport category, never a token.


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