| 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) { |
nothing calls this directly
no outgoing calls
no test coverage detected