type io/fs.PathError
16 uses
io/fs (current package)
fs.go#L244: type PathError struct {
fs.go#L250: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
fs.go#L252: func (e *PathError) Unwrap() error { return e.Err }
fs.go#L255: 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 {
embed
embed.go#L308: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
embed.go#L324: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("not a directory")}
embed.go#L341: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("is a directory")}
embed.go#L365: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L382: return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L390: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L410: 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.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |