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

Method error

include/sol/error.hpp:85–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84 public:
85 error(const std::string& str) : error(detail::direct_error, "lua: error: " + str) {
86 }
87 error(std::string&& str) : error(detail::direct_error, "lua: error: " + std::move(str)) {
88 }
89 error(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