MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / Error

Method Error

trap.go:115–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113}
114
115func (t *Trap) Error() string {
116 return t.Message()
117}
118
119func unwrapStrOr(s *string, other string) string {
120 if s == nil {

Callers 15

TestInstanceBadFunction · 0.45
TestConfigFunction · 0.45
TestTableFunction · 0.45
TestGlobalFunction · 0.45
TestRefTypesWrapFunction · 0.45
TestLinkerFunction · 0.45
TestLinkerShadowingFunction · 0.45
TestLinkerTrapFunction · 0.45
TestTrapFramesFunction · 0.45
TestTrapModuleNameFunction · 0.45

Calls 1

MessageMethod · 0.95

Tested by 15

TestInstanceBadFunction · 0.36
TestConfigFunction · 0.36
TestTableFunction · 0.36
TestGlobalFunction · 0.36
TestRefTypesWrapFunction · 0.36
TestLinkerFunction · 0.36
TestLinkerShadowingFunction · 0.36
TestLinkerTrapFunction · 0.36
TestTrapFramesFunction · 0.36
TestTrapModuleNameFunction · 0.36