|
parcel 0.2.2
Wrappable, wire-transferable C++23 value system with JSON serialization
|
Base class for parcel deserialization exceptions. More...
#include <error.h>

Public Member Functions | |
| ParcelError | to_error () const |
Project to a ParcelError value (used by try_* adapters). | |
Base class for parcel deserialization exceptions.
Inherits std::runtime_error so existing catch(std::runtime_error&) and EXPECT_THROW(..., std::runtime_error) continue to work; adds a structured ParcelError::Code plus optional kind / field tags so the non-throwing try_* API can faithfully translate the exception into a ParcelError without losing granularity.