type io/fs.PathError
17 uses
io/fs (current package)
fs.go#L243: type PathError struct {
fs.go#L249: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
fs.go#L251: func (e *PathError) Unwrap() error { return e.Err }
fs.go#L254: func (e *PathError) Timeout() bool {
readdir.go#L41: return nil, &PathError{Op: "readdir", Path: name, Err: errors.New("not implemented")}
sub.go#L36: return nil, &PathError{Op: "sub", Path: dir, Err: errors.New("invalid name")}
sub.go#L55: return "", &PathError{Op: op, Path: name, Err: errors.New("invalid name")}
sub.go#L73: if e, ok := err.(*PathError); ok {
crypto/rand
eagain.go#L21: if pe, ok := err.(*fs.PathError); ok {
embed
embed.go#L304: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
embed.go#L320: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("not a directory")}
embed.go#L337: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("is a directory")}
embed.go#L360: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L377: return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L394: return 0, &fs.PathError{Op: "read", Path: d.f.name, Err: errors.New("is a directory")}
os
error.go#L48: type PathError = fs.PathError
os/exec
exec_unix.go#L19: pe, ok := err.(*fs.PathError)