MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / ErrorDetector

Method ErrorDetector

tests/test_tools.h:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35struct ErrorDetector {
36 ErrorDetector() {
37 eh.errfunc = _detect_error;
38 eh.userdata = this;
39
40 add_error_handler(&eh);
41 }
42
43 ~ErrorDetector() {
44 remove_error_handler(&eh);

Callers

nothing calls this directly

Calls 1

add_error_handlerFunction · 0.85

Tested by

no test coverage detected