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

Function reportError

lib/validator/component_name.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278Unexpected<ErrCode> reportError(std::string_view Reason) {
279 spdlog::error(ErrCode::Value::ComponentInvalidName);
280 spdlog::error(" Component name: {}"sv, Reason);
281 return Unexpect(ErrCode::Value::ComponentInvalidName);
282}
283
284// hashname ::= 'integrity=<' <integrity-metadata> '>'
285// Parses optional ',integrity=<...>' suffix from Next.

Callers 3

tryParseIntegritySuffixFunction · 0.85
parsePkgPathFunction · 0.85
parseMethod · 0.85

Calls 2

UnexpectFunction · 0.85
errorFunction · 0.50

Tested by

no test coverage detected