Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dragonflyoss/dragonfly
/ Error
Method
Error
internal/dferrors/error.go:49–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(s *DfError) Error() string {
50
return
fmt.Sprintf(
"[%d]%s"
, s.Code, s.Message)
51
}
52
53
func
New(code commonv1.Code, msg string) *DfError {
54
return
&DfError{
Callers
15
Serve
Method · 0.45
Stop
Method · 0.45
TestScheduling_ScheduleCandidateParents
Function · 0.45
ScheduleCandidateParents
Method · 0.45
ScheduleParentAndCandidateParents
Method · 0.45
FindReplicatePersistentHosts
Method · 0.45
filterCandidatePersistentParents
Method · 0.45
filterCachedReplicatePersistentParents
Method · 0.45
filterReplicatePersistentHosts
Method · 0.45
FindReplicatePersistentCacheHosts
Method · 0.45
filterCandidatePersistentCacheParents
Method · 0.45
filterCachedReplicatePersistentCacheParents
Method · 0.45
Calls
no outgoing calls
Tested by
15
TestScheduling_ScheduleCandidateParents
Function · 0.36
TestServiceV2_AnnounceHost
Function · 0.36
TestServiceV2_DeleteHost
Function · 0.36
TestServiceV2_handleRegisterPeerRequest
Function · 0.36
TestServiceV2_handleDownloadPeerBackToSourceStartedRequest
Function · 0.36
TestServiceV2_handleRescheduleRequest
Function · 0.36
TestServiceV2_handleDownloadPeerFinishedRequest
Function · 0.36
TestServiceV2_handleDownloadPeerBackToSourceFinishedRequest
Function · 0.36
TestServiceV2_handleDownloadPeerFailedRequest
Function · 0.36
TestServiceV2_handleDownloadPeerBackToSourceFailedRequest
Function · 0.36
TestServiceV2_handleDownloadPieceFinishedRequest
Function · 0.36
TestServiceV2_handleDownloadPieceBackToSourceFinishedRequest
Function · 0.36