Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::SecureStringAccessFailure< E > Struct Template Reference

Callback and cleanup diagnostics; opaque user errors are never logged. More...

#include <secure_string.hpp>

Public Attributes

std::optional< SecureStringError > primary
 Capture/decryption/callback failure; absent when only cleanup failed.
std::optional< E > callbackError
 Opaque owning callback error, never formatted by the library.
SecureStringCleanupErrors cleanup
 Reprotection/retirement failures independent of the primary error.

Detailed Description

template<class E = std::monostate>
struct portals::SecureStringAccessFailure< E >

Callback and cleanup diagnostics; opaque user errors are never logged.

Template Parameters
EOwning, nothrow-movable error. Custom wrappers must own their dependencies.

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