![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
Thrown by Connection on a protocol violation that warrants an ERROR frame (e.g. More...
#include "kcmcp_protocol.h"


Public Member Functions | |
| ProtocolError (ErrorCode c, const std::string &what, bool fatal_=true) | |
Public Attributes | |
| ErrorCode | code |
| bool | fatal |
Thrown by Connection on a protocol violation that warrants an ERROR frame (e.g.
an oversize incoming frame); code is the KCMCP error code. fatal is false when the stream stayed synchronised (the offending message was fully consumed), so the caller may answer with an ERROR and keep serving the connection; true when the stream is desynchronised and the connection must be closed.
Definition at line 73 of file kcmcp_protocol.h.
|
inline |
Definition at line 76 of file kcmcp_protocol.h.
| ErrorCode kcmcp::ProtocolError::code |
Definition at line 74 of file kcmcp_protocol.h.
| bool kcmcp::ProtocolError::fatal |
Definition at line 75 of file kcmcp_protocol.h.