Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::DocumentError Struct Reference

Failure with an optional native provider cause, preserved by source operations. More...

#include <document_source.hpp>

Public Attributes

SourceError code {SourceError::INVALID_ARGUMENT}
 Protocol/admission failure.
std::error_code native
 Native operation cause, empty for protocol failures.
std::optional< FileLogFailure > fileFailure
 Exact file semantic/operation cause when applicable.
std::optional< SourceBudgetUsage > budgetDemand {}
 Exact failed reservation on this source root; absent for provider waiting.
std::optional< SourceBudgetUsage > budgetPeak {}

Detailed Description

Failure with an optional native provider cause, preserved by source operations.

Member Data Documentation

◆ budgetPeak

std::optional<SourceBudgetUsage> portals::DocumentError::budgetPeak {}

Minimum transient retry overlap on the same root; excludes pinned provider storage and is extended by enclosing source operations.


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