class atmd::OracleBudgetExhausted

Thrown before an oracle call that the caller’s budget no longer covers. execute() catches it and stops with OracleBudget, unconverged. Not a std::runtime_error, so handlers for failed evaluations cannot absorb it.

#include <gpr/AtomicDimer.h>
 
class OracleBudgetExhausted: public std::exception {
public:
    // construction
 
    OracleBudgetExhausted(std::string message);
 
    // methods
 
    const char* what() const;
};