Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/go-python/gopy
/ isErrorType
Function
isErrorType
bind/utils.go:23–25 ·
view source on GitHub ↗
(typ types.Type)
Source
from the content-addressed store, hash-verified
21
)
22
23
func
isErrorType(typ types.Type) bool {
24
return
typ == types.Universe.Lookup(
"error"
).Type()
25
}
26
27
func
isStringer(obj types.Object) bool {
28
switch
obj := obj.(
type
) {
Callers
6
isPyCompatVar
Function · 0.85
isPyCompatType
Function · 0.85
isPyCompatFunc
Function · 0.85
addInterfaceType
Method · 0.85
hasError
Function · 0.85
genFuncBody
Method · 0.85
Calls
1
Lookup
Method · 0.80
Tested by
no test coverage detected