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

Allocation-free original file failure; the owning source identity is stored separately. Capture cause immediately after the failing operation. The standard error category must outlive this value, as required by std::error_code; the PSS file boundary uses standard static categories. No file handle, input view, path view, or dynamically formatted message is retained. More...

#include <pss_file_error.hpp>

Public Attributes

PssFileOperation operation {PssFileOperation::OPEN}
 Exact failing file boundary.
std::error_code cause {}
 Original platform error, or file_too_large for INPUT_LIMIT.

Detailed Description

Allocation-free original file failure; the owning source identity is stored separately. Capture cause immediately after the failing operation. The standard error category must outlive this value, as required by std::error_code; the PSS file boundary uses standard static categories. No file handle, input view, path view, or dynamically formatted message is retained.


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