struct SPSSerializableError
Declaration
struct SPSSerializableError { /* full declaration omitted */ };
Description
Helper type for serializing Errors. llvm::Errors are move-only, and not inspectable except by consuming them. This makes them unsuitable for direct serialization via SPSSerializationTraits, which needs to inspect values twice (once to determine the amount of space to reserve, and then again to serialize). The SPSSerializableError type is a helper that can be constructed from an llvm::Error, but inspected more than once.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h:561
Member Variables
- public bool HasError = false
- public std::string ErrMsg