MCPcopy Create free account
hub / github.com/dropbox/dbxcli / relocationAggregateError

Function relocationAggregateError

cmd/relocation_if_exists.go:122–128  ·  view source on GitHub ↗
(commandName, operation string, count int, failures []map[string]any)

Source from the content-addressed store, hash-verified

120}
121
122func relocationAggregateError(commandName, operation string, count int, failures []map[string]any) error {
123 details := operationErrorDetails(operation)
124 if len(failures) == 1 {
125 details = mergeJSONErrorDetails(details, failures[0])
126 }
127 return commandFailedErrorfWithDetails("%s: %d error(s)", details, commandName, count)
128}

Callers 2

cpFunction · 0.85
mvFunction · 0.85

Calls 3

operationErrorDetailsFunction · 0.85
mergeJSONErrorDetailsFunction · 0.85

Tested by

no test coverage detected