smithy

ref: 73d56dfa85588dcc7d6e05e12310941d0581c7be

pkg/go-git-http/errors.go


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
package githttp

import (
	"fmt"
)

type ErrorNoAccess struct {
	// Path to directory of repo accessed
	Dir string
}

func (e *ErrorNoAccess) Error() string {
	return fmt.Sprintf("Could not access repo at '%s'", e.Dir)
}