MCPcopy Create free account
hub / github.com/evilsocket/sum / IsError

Method IsError

wrapper/context.go:29–33  ·  view source on GitHub ↗

IsError returns true if an error has been set in this context.

()

Source from the content-addressed store, hash-verified

27
28// IsError returns true if an error has been set in this context.
29func (ctx *Context) IsError() bool {
30 ctx.RLock()
31 defer ctx.RUnlock()
32 return ctx.isError
33}
34
35// Message returns the error message for this context.
36func (ctx *Context) Message() string {

Callers 3

TestWrapperContextFunction · 0.95
benchVMFunction · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestWrapperContextFunction · 0.76
benchVMFunction · 0.64