MCPcopy Create free account
hub / github.com/brimdata/super / Is

Method Is

service/srverr/error.go:79–84  ·  view source on GitHub ↗
(target error)

Source from the content-addressed store, hash-verified

77}
78
79func (e *Error) Is(target error) bool {
80 if zt, ok := target.(*Error); ok {
81 return zt.Kind == e.Kind
82 }
83 return false
84}
85
86// Message returns just the Err.Error() string, if present, or the Kind
87// string description. The intent is to allow srverr users a way to avoid

Callers 15

runOneBoomerangFunction · 0.80
parseCharClassMatcherMethod · 0.80
handleQueryFunction · 0.80
handlePoolStatsFunction · 0.80
handleBranchLoadFunction · 0.80
handleDeleteFunction · 0.80
PoolIDMethod · 0.80
errorResponseFunction · 0.80
TestEFunction · 0.80
TestIsFunction · 0.80
serveMethod · 0.80

Calls

no outgoing calls

Tested by 4

runOneBoomerangFunction · 0.64
TestEFunction · 0.64
TestIsFunction · 0.64