Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/larksuite/cli
/ isLarkCode
Function
isLarkCode
events/vc/note_generated.go:149–154 ·
view source on GitHub ↗
(err error, code int)
Source
from the content-addressed store, hash-verified
147
}
148
149
func
isLarkCode(err error, code int) bool {
150
if
p, ok := errs.ProblemOf(err); ok {
151
return
p.Code == code
152
}
153
return
false
154
}
Callers
2
fillVCNoteGeneratedDetails
Function · 0.85
TestIsLarkCode_MatchesTypedAPIErrorCode
Function · 0.85
Calls
1
ProblemOf
Function · 0.92
Tested by
1
TestIsLarkCode_MatchesTypedAPIErrorCode
Function · 0.68