class pot::EngineError¶
A failed engine evaluation. The engine ABI returns a three-valued status: positive means the evaluation failed at this input and the caller may evaluate elsewhere, negative means the instance is unusable.
#include <gpr/potentials/EnginePotential.h>
class EngineError: public std::runtime_error {
public:
// construction
EngineError(std::string library, int status, const std::string& what);
// methods
int status() const;
bool fatal() const;
const std::string& library() const;
};