![]() |
ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
|
A refusal by design, or a known gap, rather than an error. More...
#include "Circuit.h"


Public Member Functions | |
| CircuitRefusal (const char *scope, const char *tag, const std::string &m) | |
| Construct a refusal. | |
| const char * | scope () const noexcept |
| The kind of the refusal. | |
| const char * | tag () const noexcept |
| The tag of the refusal. | |
| Public Member Functions inherited from CircuitException | |
| CircuitException (const std::string &m) | |
| Construct with a descriptive error message. | |
| virtual char const * | what () const noexcept |
| Return the error message as a C-string. | |
Private Attributes | |
| const char * | scope_ |
PROVSQL_DELIBERATE, PROVSQL_GAP, ... | |
| const char * | tag_ |
| Stable short tag of the refusal. | |
A refusal by design, or a known gap, rather than an error.
Reported to the client as a ProvSQL refusal (SQLSTATE 0A000, with a provsql-reason tag and its scope; see provsql_unsupported), so that tooling can tell it from an internal fault.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |