type io/fs.PathError
13 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 {
archive/zip
reader.go#L706: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
reader.go#L778: return 0, &fs.PathError{Op: "read", Path: d.e.name, Err: errors.New("is a directory")}
crypto/rand
eagain.go#L21: if pe, ok := err.(*fs.PathError); ok {
os
error.go#L48: type PathError = fs.PathError
os/exec
exec_unix.go#L19: pe, ok := err.(*fs.PathError)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |