Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GetStream/stream-go2
/ Error
Method
Error
errors.go:32–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(e APIError) Error() string {
33
return
e.Detail
34
}
35
36
// ToAPIError tries to cast the provided error to APIError type, returning the
37
// obtained APIError and whether the operation was successful.
Callers
15
TestErrorString
Function · 0.95
TestUpdateStatusBatchValidation
Function · 0.80
TestInvalidateUserCache
Function · 0.80
TestReadResponse_parseNext
Function · 0.80
TestFlatFeedGetNextPageActivities
Function · 0.80
TestActivityMarshalUnmarshalJSON_toTargets
Function · 0.80
TestGetNextPageReactions
Function · 0.80
TestEnrichedActivityUnmarshalJSON_toTargets
Function · 0.80
Test_decodeJSONHook
Function · 0.80
Test_parseIntValue
Function · 0.80
TestConfig
Function · 0.80
TestNewFromEnv
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestErrorString
Function · 0.76
TestUpdateStatusBatchValidation
Function · 0.64
TestInvalidateUserCache
Function · 0.64
TestReadResponse_parseNext
Function · 0.64
TestFlatFeedGetNextPageActivities
Function · 0.64
TestActivityMarshalUnmarshalJSON_toTargets
Function · 0.64
TestGetNextPageReactions
Function · 0.64
TestEnrichedActivityUnmarshalJSON_toTargets
Function · 0.64
Test_decodeJSONHook
Function · 0.64
Test_parseIntValue
Function · 0.64
TestConfig
Function · 0.64
TestNewFromEnv
Function · 0.64