type io/fs.PathError
16 uses
io/fs (current package)
fs.go#L250: type PathError struct {
fs.go#L256: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
fs.go#L258: func (e *PathError) Unwrap() error { return e.Err }
fs.go#L261: 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#L295: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
embed.go#L311: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("not a directory")}
embed.go#L328: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("is a directory")}
embed.go#L352: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L369: return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L377: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L397: return 0, &fs.PathError{Op: "read", Path: d.f.name, Err: errors.New("is a directory")}
os
error.go#L46: type PathError = fs.PathError
 |
The pages are generated with Golds v0.7.6. (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. |