|
CppInterOp
C++ Language Interoperability Layer
|
Body of a slice-encoded error: drained diagnostics, producer attribution, refcount. More...
#include "lib/CppInterOp/ErrorInternal.h"

Public Attributes | |
| std::atomic< uint32_t > | Refcount {0} |
| InterpreterInfo * | Owner = nullptr |
| Status | Code = Status::Ok |
| std::deque< StoredDiagView > | Diagnostics |
| const char * | Producer = nullptr |
| const char * | ProducerSignature = nullptr |
Body of a slice-encoded error: drained diagnostics, producer attribution, refcount.
alignas(16) keeps the low bits of an ErrorSlice* clear so ErrorRef's tag bit stays unambiguous.
Definition at line 47 of file ErrorInternal.h.
| Status Cpp::ErrorSlice::Code = Status::Ok |
Definition at line 52 of file ErrorInternal.h.
Referenced by Cpp::makeError().
| std::deque<StoredDiagView> Cpp::ErrorSlice::Diagnostics |
Definition at line 56 of file ErrorInternal.h.
Referenced by Cpp::makeError().
| InterpreterInfo* Cpp::ErrorSlice::Owner = nullptr |
Definition at line 51 of file ErrorInternal.h.
| const char* Cpp::ErrorSlice::Producer = nullptr |
Definition at line 59 of file ErrorInternal.h.
Referenced by Cpp::makeError().
| const char* Cpp::ErrorSlice::ProducerSignature = nullptr |
Definition at line 61 of file ErrorInternal.h.
Referenced by Cpp::makeError().
|
mutable |
Definition at line 50 of file ErrorInternal.h.