type io/fs.PathError
17 uses
io/fs (current package)
fs.go#L251: type PathError struct {
fs.go#L257: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
fs.go#L259: func (e *PathError) Unwrap() error { return e.Err }
fs.go#L262: func (e *PathError) Timeout() bool {
readdir.go#L42: return nil, &PathError{Op: "readdir", Path: name, Err: errors.New("not implemented")}
sub.go#L36: return nil, &PathError{Op: "sub", Path: dir, Err: ErrInvalid}
sub.go#L55: return "", &PathError{Op: op, Path: name, Err: ErrInvalid}
sub.go#L73: if e, ok := err.(*PathError); ok {
embed
embed.go#L296: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
embed.go#L312: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("not a directory")}
embed.go#L329: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("is a directory")}
embed.go#L353: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L370: return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L378: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L398: return 0, &fs.PathError{Op: "read", Path: d.f.name, Err: errors.New("is a directory")}
os
error.go#L46: type PathError = fs.PathError
os/exec
exec_unix.go#L20: pe, ok := err.(*fs.PathError)