Skip to content

EntropyEngine::Core::IO::FileErrorInfo

Error details accompanying a failed operation. More…

#include <FileOperationHandle.h>

Name
std::optional< std::error_code >systemError
std::stringpath
std::stringmessage
FileErrorcode
struct EntropyEngine::Core::IO::FileErrorInfo;

Error details accompanying a failed operation.

systemError should be populated when the failure originates from the OS or a backend/transport with an error_code (e.g., errno, std::errc, or SDK-provided). For logical failures such as Conflict, Timeout from advisory locking, or FileNotFound determined by preconditions, systemError may be empty; message should remain informative.

std::optional< std::error_code > systemError;
std::string path;
std::string message;
FileError code = FileError::None;

Updated on 2026-01-26 at 17:14:35 -0500