conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
Loading...
Searching...
No Matches
exception.hpp
Go to the documentation of this file.
1#pragma once
2
18
19#include <stdexcept>
20
21namespace conduit {
22
26class Exception : public std::runtime_error {
27public:
28 using std::runtime_error::runtime_error;
29};
30
33class ConfigError : public Exception {
34public:
35 using Exception::Exception;
36};
37
41public:
42 using ConfigError::ConfigError;
43};
44
48class TransportError : public Exception {
49public:
50 using Exception::Exception;
51};
52
57public:
58 using Exception::Exception;
59};
60
64public:
65 using Exception::Exception;
66};
67
68} // namespace conduit
Construction-time configuration validation error: a Config field was invalid (empty required field,...
Definition exception.hpp:33
Root of every exception type thrown by conduit.
Definition exception.hpp:26
Raised by envelope/cell deserialization when the wire data is malformed.
Definition exception.hpp:56
TLS-enabled config was supplied but the relevant transport feature flag was off at build time.
Definition exception.hpp:40
Operational/runtime failure inside a transport adapter (connect, subscribe, publish,...
Definition exception.hpp:48
Raised by EventTypeRegistry::schema when the requested name or kind is not registered.
Definition exception.hpp:63
Definition builder.hpp:22