MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / rethrown_exception

Class rethrown_exception

subprojects/llama.cpp/common/jinja/runtime.h:574–580  ·  view source on GitHub ↗

Used to rethrow exceptions with modified messages

Source from the content-addressed store, hash-verified

572
573// Used to rethrow exceptions with modified messages
574struct rethrown_exception : public std::exception {
575 std::string message;
576 rethrown_exception(const std::string & msg) : message(msg) {}
577 const char* what() const noexcept override {
578 return message.c_str();
579 }
580};
581
582//////////////////////
583

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected