13namespace neograph::program {
41 const std::string&
operation() const noexcept {
return operation_; }
43 const std::string&
alternative() const noexcept {
return alternative_; }
46 std::string operation_;
47 std::string alternative_;
NEOGRAPH_API export/import macro for shared-library builds.
Marks an exception type as a configuration or definition verdict.
Thrown by a synchronous call that would wait for a Program on a thread that cannot wait for it: the e...
const std::string & operation() const noexcept
The refused call, for example "ProgramRuntime::start".
const std::string & alternative() const noexcept
The awaitable form that does the same without blocking, for example "ProgramRuntime::start_async".
Thrown by the ProgramRuntime constructor in a build without threads (NEOGRAPH_THREADS=OFF) when Runti...
Marker for exceptions that are configuration or definition verdicts (#364).