MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / register_error

Function register_error

src/runtime/error.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77result register_error(
78 const source_location &origin, const error_info &info) {
79
80 auto res = make_error(origin, info);
81
82 application::errors().add(res);
83 return res;
84}
85
86void register_error(const result &err) {
87 application::errors().add(err);

Callers 15

get_base_ptrMethod · 0.85
submit_directlyMethod · 0.85
getMethod · 0.85
submitMethod · 0.85
ensure_allocation_existsFunction · 0.85
submitMethod · 0.85
raw_allocateMethod · 0.85
raw_freeMethod · 0.85
raw_allocate_usmMethod · 0.85
ze_executable_objectMethod · 0.85

Calls 2

make_errorFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected