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

Function logUnknownError

lib/executor/instantiate/import.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29auto logUnknownError(std::string_view ModName, std::string_view ExtName,
30 ExternalType ExtType) {
31 spdlog::error(ErrCode::Value::UnknownImport);
32 spdlog::error(ErrInfo::InfoLinking(ModName, ExtName, ExtType));
33 spdlog::error(ErrInfo::InfoAST(ASTNodeAttr::Desc_Import));
34 return Unexpect(ErrCode::Value::UnknownImport);
35}
36
37bool matchLimit(const AST::Limit &Exp, const AST::Limit &Got) {
38 if (Exp.getAddrType() != Got.getAddrType()) {

Callers 2

checkImportMatchedFunction · 0.85
instantiateMethod · 0.85

Calls 4

InfoLinkingClass · 0.85
InfoASTClass · 0.85
UnexpectFunction · 0.85
errorFunction · 0.50

Tested by

no test coverage detected