MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / error_result

Class error_result

extlibs/sol3/include/sol/sol.hpp:3387–3401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3385 const auto direct_error = direct_error_tag{};
3386
3387 struct error_result {
3388 int results;
3389 const char* format_string;
3390 std::array<const char*, 4> args_strings;
3391
3392 error_result() : results(0), format_string(nullptr) {
3393 }
3394
3395 error_result(int results) : results(results), format_string(nullptr) {
3396 }
3397
3398 error_result(const char* fmt, const char* msg) : results(0), format_string(fmt) {
3399 args_strings[0] = msg;
3400 }
3401 };
3402
3403 inline int handle_errors(lua_State* L, const error_result& er) {
3404 if (er.format_string == nullptr) {

Callers 13

get_comparativeMethod · 0.85
set_writableMethod · 0.85
set_categoryMethod · 0.85
set_comparativeMethod · 0.85
find_comparativeMethod · 0.85
add_insert_afterMethod · 0.85
add_associativeMethod · 0.85
add_copyableMethod · 0.85
insert_after_hasMethod · 0.85
insert_copyableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected