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

Method logLoadError

include/loader/loader.h:259–265  ·  view source on GitHub ↗

\name Helper functions to print error log when loading AST nodes @{

Source from the content-addressed store, hash-verified

257 /// \name Helper functions to print error log when loading AST nodes
258 /// @{
259 inline Unexpected<ErrCode> logLoadError(ErrCode Code, uint64_t Off,
260 ASTNodeAttr Node) const noexcept {
261 spdlog::error(Code);
262 spdlog::error(ErrInfo::InfoLoading(Off));
263 spdlog::error(ErrInfo::InfoAST(Node));
264 return Unexpect(Code);
265 }
266 inline Unexpected<ErrCode> logNeedProposal(ErrCode Code, Proposal Prop,
267 uint64_t Off,
268 ASTNodeAttr Node) const noexcept {

Callers

nothing calls this directly

Calls 4

InfoLoadingClass · 0.85
InfoASTClass · 0.85
UnexpectFunction · 0.85
errorFunction · 0.50

Tested by

no test coverage detected