MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Add

Method Add

pkg/serializer/error.go:401–403  ·  view source on GitHub ↗

Add adds an error to the aggregate

(id string, err error)

Source from the content-addressed store, hash-verified

399
400// Add adds an error to the aggregate
401func (e *AggregateError) Add(id string, err error) {
402 e.errs[id] = err
403}
404
405// Merge merges another aggregate error into this one
406func (e *AggregateError) Merge(err error) bool {

Callers 15

CreateDownloadTaskMethod · 0.95
CleanupFunction · 0.95
DeleteMethod · 0.95
DoMethod · 0.95
masterTransferMethod · 0.95
SoftDeleteMethod · 0.95
DeleteMethod · 0.95
RestoreMethod · 0.95
MoveOrCopyMethod · 0.95
PatchMetadataMethod · 0.95
RecycleEntitiesMethod · 0.95
GetDirectLinkMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected