Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PeerDB-io/peerdb
/ Error
Method
Error
flow/cmd/api_error.go:58–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
56
}
57
58
func
(e *apiError) Error() string {
59
if
e.status == nil {
60
return
"unknown error"
61
}
62
return
e.status.Err().Error()
63
}
64
65
func
(e *apiError) GRPCStatus() *status.Status {
66
return
e.status
Callers
15
recordFlowErrorInternal
Method · 0.45
GetErrorClass
Function · 0.45
TestConnectionResetDuringPeerCreateShouldBeConnectivity
Function · 0.45
TestConnectionResetFromSourceShouldBeIgnored
Function · 0.45
TestPostgresConnectionRefusedErrorShouldBeConnectivity
Function · 0.45
AuthGrpcMiddleware
Function · 0.45
TestRecoveryMiddleware_RecoversPanic
Function · 0.45
TestRecoveryMiddleware_RecoversNilPointerPanic
Function · 0.45
TestRecoveryMiddleware_NormalErrorPassesThrough
Function · 0.45
TestRecoveryMiddleware_CreateCDCFlowNilConfig
Function · 0.45
cloneTables
Method · 0.45
cloneTablesWithSlot
Method · 0.45
Calls
1
Err
Method · 0.65
Tested by
15
TestConnectionResetDuringPeerCreateShouldBeConnectivity
Function · 0.36
TestConnectionResetFromSourceShouldBeIgnored
Function · 0.36
TestPostgresConnectionRefusedErrorShouldBeConnectivity
Function · 0.36
TestRecoveryMiddleware_RecoversPanic
Function · 0.36
TestRecoveryMiddleware_RecoversNilPointerPanic
Function · 0.36
TestRecoveryMiddleware_NormalErrorPassesThrough
Function · 0.36
TestRecoveryMiddleware_CreateCDCFlowNilConfig
Function · 0.36
getActualUncompressedSize
Function · 0.36
TestNewDeadlineCapableConn_ReadDeadlineCanBeCleared
Function · 0.36
TestNewDeadlineCapableConn_PreservesSSHBytesAcrossReadTimeout
Function · 0.36
TestPostgresSSHReceiveMessageDeadlineRespectsContextDeadline
Function · 0.36
Teardown
Method · 0.36