MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / get_eval_error

Function get_eval_error

src/libfuzzer_client.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179chaiscript::exception::eval_error get_eval_error(const std::function<void ()> &f)
180{
181 try {
182 f();
183 } catch (const chaiscript::exception::eval_error &e) {
184 return e;
185 }
186
187 throw std::runtime_error("no exception throw");
188}
189
190std::string get_next_command() {
191 std::string retval("quit");

Callers

nothing calls this directly

Calls 1

fFunction · 0.50

Tested by

no test coverage detected