RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
Loading...
Searching...
No Matches
rpnx::querygraph::debug_abi::subquery_does_not_exist Class Reference

Canonical error for a requested subquery the parent did not produce. More...

#include <querygraph.hpp>

Inheritance diagram for rpnx::querygraph::debug_abi::subquery_does_not_exist:

Public Member Functions

 subquery_does_not_exist ()
 Construct an empty instance for deserialization.
 
 subquery_does_not_exist (std::string subquery_id)
 Construct an error naming the missing subquery.
 
std::string const & subquery_id () const noexcept
 Return the stable identifier of the missing subquery.
 
void post_serialize ()
 Rebuild the derived human-readable message after deserialization.
 
char const * what () const noexcept override
 Return the derived error message.
 

Detailed Description

Canonical error for a requested subquery the parent did not produce.

QueryGraph raises this after the parent completes successfully and a requested subquery slot is still pending.

Definition at line 925 of file querygraph.hpp.

Constructor & Destructor Documentation

◆ subquery_does_not_exist() [1/2]

rpnx::querygraph::debug_abi::subquery_does_not_exist::subquery_does_not_exist ( )
inline

Construct an empty instance for deserialization.

Definition at line 934 of file querygraph.hpp.

References post_serialize().

◆ subquery_does_not_exist() [2/2]

rpnx::querygraph::debug_abi::subquery_does_not_exist::subquery_does_not_exist ( std::string subquery_id)
inlineexplicit

Construct an error naming the missing subquery.

Definition at line 940 of file querygraph.hpp.

References post_serialize(), and subquery_id().

Member Function Documentation

◆ post_serialize()

void rpnx::querygraph::debug_abi::subquery_does_not_exist::post_serialize ( )
inline

Rebuild the derived human-readable message after deserialization.

Definition at line 952 of file querygraph.hpp.

Referenced by subquery_does_not_exist(), and subquery_does_not_exist().

◆ subquery_id()

std::string const & rpnx::querygraph::debug_abi::subquery_does_not_exist::subquery_id ( ) const
inlinenoexcept

Return the stable identifier of the missing subquery.

Definition at line 946 of file querygraph.hpp.

Referenced by subquery_does_not_exist().

◆ what()

char const * rpnx::querygraph::debug_abi::subquery_does_not_exist::what ( ) const
inlineoverridenoexcept

Return the derived error message.

Definition at line 958 of file querygraph.hpp.


The documentation for this class was generated from the following file: