ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mdl_fetch_fail_t Struct Reference

One recorded page/chapter failure: what failed, and with what status. More...

#include <mdl_fetch.h>

Data Fields

char url [k_mdl_url_max]
 Failing page or chapter URL (truncation-safe).
long status
 HTTP status observed, 0 when none.
ra8_err_t err
 Classified failure code (rendered on demand).

Detailed Description

One recorded page/chapter failure: what failed, and with what status.

Captured by the run so an end-of-run summary can name every lost page long after its one-line diagnostic has scrolled past. The raw ra8_err_t is kept (not a prose string) so the caller renders a human-readable reason at print time via priv_mdl_fetch_reason.

Invariant
status == 0 when no HTTP status was observed (transport error or a robots refusal before any request).
Since
0.1.0

Definition at line 90 of file mdl_fetch.h.

Field Documentation

◆ err

ra8_err_t mdl_fetch_fail_t::err

Classified failure code (rendered on demand).

Definition at line 93 of file mdl_fetch.h.

Referenced by priv_mdl_fetch_record_fail().

◆ status

long mdl_fetch_fail_t::status

HTTP status observed, 0 when none.

Definition at line 92 of file mdl_fetch.h.

Referenced by priv_mdl_fetch_record_fail().

◆ url

char mdl_fetch_fail_t::url[k_mdl_url_max]

Failing page or chapter URL (truncation-safe).

Definition at line 91 of file mdl_fetch.h.

Referenced by priv_mdl_fetch_record_fail().


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