io/fs.PathError.Err (field)
82 uses
io/fs (current package)
fs.go#L264: Err error
fs.go#L267: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
fs.go#L269: func (e *PathError) Unwrap() error { return e.Err }
fs.go#L273: t, ok := e.Err.(interface{ Timeout() bool })
readdir.go#L42: return nil, &PathError{Op: "readdir", Path: name, Err: errors.New("not implemented")}
readlink.go#L29: return "", &PathError{Op: "readlink", Path: name, Err: ErrInvalid}
sub.go#L37: return nil, &PathError{Op: "sub", Path: dir, Err: ErrInvalid}
sub.go#L62: return "", &PathError{Op: op, Path: name, Err: ErrInvalid}
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
dir.go#L183: return &PathError{Op: "Copy", Path: newPath, Err: err}
dir.go#L187: return &PathError{Op: "CopyFS", Path: path, Err: ErrInvalid}
dir_unix.go#L89: return names, dirents, infos, &PathError{Op: "readdirent", Path: f.name, Err: errno}
error.go#L134: return err.Err
exec_posix.go#L61: return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
file.go#L158: return 0, &PathError{Op: "readat", Path: f.name, Err: errors.New("negative offset")}
file.go#L248: return 0, &PathError{Op: "writeat", Path: f.name, Err: errors.New("negative offset")}
file.go#L334: return &PathError{Op: "mkdir", Path: name, Err: e}
file.go#L364: return &PathError{Op: "chdir", Path: dir, Err: e}
file.go#L475: return &PathError{Op: op, Path: f.name, Err: err}
file.go#L757: return nil, &PathError{Op: "open", Path: name, Err: err}
file.go#L778: return nil, &PathError{Op: "readfile", Path: name, Err: err}
file.go#L796: return nil, &PathError{Op: "readdir", Path: name, Err: err}
file.go#L812: return nil, &PathError{Op: "stat", Path: name, Err: err}
file.go#L826: return nil, &PathError{Op: "lstat", Path: name, Err: err}
file.go#L840: return "", &PathError{Op: "readlink", Path: name, Err: err}
file_posix.go#L82: return &PathError{Op: "chmod", Path: name, Err: e}
file_posix.go#L110: return &PathError{Op: "chown", Path: name, Err: e}
file_posix.go#L126: return &PathError{Op: "lchown", Path: name, Err: e}
file_posix.go#L182: return &PathError{Op: "chtimes", Path: name, Err: e}
file_unix.go#L39: err = pe.Err
file_unix.go#L265: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L295: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L319: err = &PathError{Op: "close", Path: file.name, Err: e}
file_unix.go#L350: return &PathError{Op: "truncate", Path: name, Err: e}
file_unix.go#L387: return &PathError{Op: "remove", Path: name, Err: e}
file_unix.go#L439: return "", &PathError{Op: "readlink", Path: name, Err: err}
path.go#L26: return &PathError{Op: "mkdir", Path: path, Err: syscall.ENOTDIR}
removeall_at.go#L25: return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL}
removeall_at.go#L80: return &PathError{Op: "unlinkat", Path: base, Err: err}
removeall_at.go#L98: return &PathError{Op: "unlinkat", Path: base, Err: uErr}
removeall_at.go#L104: recurseErr = &PathError{Op: "openfdat", Path: base, Err: err}
removeall_at.go#L118: return &PathError{Op: "readdirnames", Path: base, Err: readErr}
removeall_at.go#L164: return &PathError{Op: "unlinkat", Path: base, Err: unlinkError}
root.go#L119: return nil, &PathError{Op: "openat", Path: name, Err: errors.New("unsupported file mode")}
root.go#L151: return &PathError{Op: "mkdirat", Path: name, Err: errors.New("unsupported file mode")}
root.go#L163: return &PathError{Op: "mkdirat", Path: name, Err: errors.New("unsupported file mode")}
root.go#L366: return nil, &PathError{Op: "open", Path: name, Err: ErrInvalid}
root.go#L378: return nil, &PathError{Op: "readdir", Path: name, Err: ErrInvalid}
root.go#L402: return nil, &PathError{Op: "readfile", Path: name, Err: ErrInvalid}
root.go#L415: return "", &PathError{Op: "readlink", Path: name, Err: ErrInvalid}
root.go#L423: return nil, &PathError{Op: "stat", Path: name, Err: ErrInvalid}
root.go#L431: return nil, &PathError{Op: "lstat", Path: name, Err: ErrInvalid}
root_openat.go#L73: return &PathError{Op: "chmodat", Path: name, Err: err}
root_openat.go#L83: return &PathError{Op: "chownat", Path: name, Err: err}
root_openat.go#L93: return &PathError{Op: "lchownat", Path: name, Err: err}
root_openat.go#L103: return &PathError{Op: "chtimesat", Path: name, Err: err}
root_openat.go#L113: return &PathError{Op: "mkdirat", Path: name, Err: err}
root_openat.go#L132: return 0, &PathError{Op: "openat", Err: err}
root_openat.go#L137: return 0, &PathError{Op: "mkdirat", Err: err}
root_openat.go#L168: return struct{}{}, &PathError{Op: "mkdirat", Err: err}
root_openat.go#L173: err = &PathError{Op: "mkdirat", Path: fullname, Err: err}
root_openat.go#L184: return "", &PathError{Op: "readlinkat", Path: name, Err: err}
root_openat.go#L194: return &PathError{Op: "removeat", Path: name, Err: err}
root_openat.go#L207: return &PathError{Op: "RemoveAll", Path: name, Err: syscall.EINVAL}
root_openat.go#L216: return &PathError{Op: "RemoveAll", Path: name, Err: underlyingError(err)}
root_unix.go#L31: return nil, &PathError{Op: "open", Path: name, Err: err}
root_unix.go#L46: return nil, &PathError{Op: "open", Path: name, Err: errors.New("not a directory")}
root_unix.go#L76: return nil, &PathError{Op: "openat", Path: name, Err: err}
root_unix.go#L104: return nil, &PathError{Op: "openat", Path: name, Err: err}
root_unix.go#L144: return nil, &PathError{Op: "statat", Path: name, Err: err}
stat_unix.go#L35: return nil, &PathError{Op: "stat", Path: name, Err: err}
stat_unix.go#L48: return nil, &PathError{Op: "lstat", Path: name, Err: err}
tempfile.go#L42: return nil, &PathError{Op: "createtemp", Path: pattern, Err: err}
tempfile.go#L54: return nil, &PathError{Op: "createtemp", Path: prefix + "*" + suffix, Err: ErrExist}
tempfile.go#L93: return "", &PathError{Op: "mkdirtemp", Path: pattern, Err: err}
tempfile.go#L108: return "", &PathError{Op: "mkdirtemp", Path: prefix + "*" + suffix, Err: ErrExist}
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |