MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / EXPECTED_TRY

Function EXPECTED_TRY

lib/loader/ast/section.cpp:104–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 return loadSectionContentVec(
103 Sec, [this](uint32_t &FuncIdx) -> Expect<void> {
104 EXPECTED_TRY(uint32_t Idx, FMgr.readU32().map_error([this](auto E) {
105 return logLoadError(E, FMgr.getLastOffset(),
106 ASTNodeAttr::Sec_Function);
107 }));
108 FuncIdx = Idx;
109 return {};
110 });

Callers 2

loadSectionMethod · 0.70
section.cppFile · 0.70

Calls 1

getLastOffsetMethod · 0.80

Tested by

no test coverage detected