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

Function NewAggregateError

pkg/serializer/error.go:390–394  ·  view source on GitHub ↗

NewAggregateError creates a new AggregateError

()

Source from the content-addressed store, hash-verified

388
389// NewAggregateError creates a new AggregateError
390func NewAggregateError() *AggregateError {
391 return &AggregateError{
392 errs: make(map[string]error, 0),
393 }
394}
395
396func (e *AggregateError) Error() string {
397 return fmt.Sprintf("aggregate error: one or more operation failed")

Callers 14

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

Calls

no outgoing calls

Tested by

no test coverage detected