MCPcopy Create free account
hub / github.com/chain/Core / Error

Method Error

errors/errors.go:24–26  ·  view source on GitHub ↗

It satisfies the error interface.

()

Source from the content-addressed store, hash-verified

22
23// It satisfies the error interface.
24func (e wrapperError) Error() string {
25 return e.msg
26}
27
28// Root returns the original error that was wrapped by one or more
29// calls to Wrap. If e does not wrap other errors, it will be returned

Callers 14

TestExtensibleStringFunction · 0.45
TestReadWriteVarint31Function · 0.45
TestReadWriteVarint63Function · 0.45
TestReadWriteVarstr31Function · 0.45
TestReadWriteVarstrListFunction · 0.45
TestUnmarshalDurationFunction · 0.45
TestWrapFunction · 0.45
TestWrapfFunction · 0.45
TestWrapMsgFunction · 0.45
TestDetailFunction · 0.45
TestSubFunction · 0.45
TestWriterFunction · 0.45

Calls

no outgoing calls

Tested by 12

TestExtensibleStringFunction · 0.36
TestReadWriteVarint31Function · 0.36
TestReadWriteVarint63Function · 0.36
TestReadWriteVarstr31Function · 0.36
TestReadWriteVarstrListFunction · 0.36
TestUnmarshalDurationFunction · 0.36
TestWrapFunction · 0.36
TestWrapfFunction · 0.36
TestWrapMsgFunction · 0.36
TestDetailFunction · 0.36
TestSubFunction · 0.36
TestWriterFunction · 0.36