MCPcopy
hub / github.com/cortexlabs/cortex / ErrorReadFile

Function ErrorReadFile

pkg/lib/files/errors.go:79–84  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

77}
78
79func ErrorReadFile(path string) error {
80 return errors.WithStack(&errors.Error{
81 Kind: ErrReadFile,
82 Message: fmt.Sprintf("%s: unable to read file", path),
83 })
84}
85
86func ErrorFileAlreadyExists(path string) error {
87 return errors.WithStack(&errors.Error{

Callers 2

OpenFunction · 0.85
ReadFileBytesErrPathFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected