MCPcopy Create free account
hub / github.com/ThePhD/sol2 / error_exception

Method error_exception

include/sol/error.hpp:63–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 class error_exception : public std::runtime_error {
62 public:
63 error_exception(const std::string& str) : error_exception(detail::direct_error, "lua: error: " + str) {
64 }
65 error_exception(std::string&& str) : error_exception(detail::direct_error, "lua: error: " + std::move(str)) {
66 }
67 error_exception(detail::direct_error_tag, const std::string& str) : std::runtime_error(str) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected