Loading...
Searching...
No Matches
atmd::OracleBudgetExhausted Class Reference

#include <gpr/AtomicDimer.h>

Inheritance diagram for atmd::OracleBudgetExhausted:

Public Member Functions

 OracleBudgetExhausted (std::string message)
const char * what () const noexcept override

Detailed Description

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.

Definition at line 408 of file AtomicDimer.h.

Constructor & Destructor Documentation

◆ OracleBudgetExhausted()

atmd::OracleBudgetExhausted::OracleBudgetExhausted ( std::string message)
inlineexplicit

Definition at line 410 of file AtomicDimer.h.

411 : message_(std::move(message))
412 {
413 }

Member Function Documentation

◆ what()

const char * atmd::OracleBudgetExhausted::what ( ) const
inlinenodiscardoverridenoexcept

Definition at line 414 of file AtomicDimer.h.

415 {
416 return message_.c_str();
417 }

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