...

Source file src/github.com/docker/distribution/registry/storage/error.go

Documentation: github.com/docker/distribution/registry/storage

     1  package storage
     2  
     3  import "fmt"
     4  
     5  // pushError formats an error type given a path and an error
     6  // and pushes it to a slice of errors
     7  func pushError(errors []error, path string, err error) []error {
     8  	return append(errors, fmt.Errorf("%s: %s", path, err))
     9  }
    10  

View as plain text