conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
Loading...
Searching...
No Matches
Classes | Namespaces
exception.hpp File Reference

Root exception hierarchy for the conduit library. More...

#include <stdexcept>
Include dependency graph for exception.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  conduit::Exception
 Root of every exception type thrown by conduit. More...
 
class  conduit::ConfigError
 Construction-time configuration validation error: a Config field was invalid (empty required field, bad enum, etc.) before any IO happened. More...
 
class  conduit::TlsNotSupportedError
 TLS-enabled config was supplied but the relevant transport feature flag was off at build time. More...
 
class  conduit::TransportError
 Operational/runtime failure inside a transport adapter (connect, subscribe, publish, etc.). More...
 
class  conduit::SerializationError
 Raised by envelope/cell deserialization when the wire data is malformed. More...
 
class  conduit::UnknownEventTypeError
 Raised by EventTypeRegistry::schema when the requested name or kind is not registered. More...
 

Namespaces

namespace  conduit
 

Detailed Description

Root exception hierarchy for the conduit library.

Every exception intentionally thrown by conduit derives from conduit::Exception, so consumers can catch a single library-specific category instead of guessing which std::* subtype each layer threw.

Layout: std::runtime_error conduit::Exception conduit::ConfigError — transport Config validation failures conduit::TlsNotSupportedError — TLS requested but feature flag off conduit::TransportError — operational/runtime transport failures (per-transport subclasses live in each transport's public header) conduit::SerializationError — wire encode/decode failures conduit::UnknownEventTypeError — EventTypeRegistry lookup miss