We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37ac54d commit 85ca578Copy full SHA for 85ca578
src/os/error.go
@@ -10,7 +10,7 @@ import (
10
11
// Portable analogs of some common system call errors.
12
var (
13
- ErrInvalid = errors.New("invalid argument")
+ ErrInvalid = errors.New("invalid argument") // methods on File will return this error when the receiver is nil
14
ErrPermission = errors.New("permission denied")
15
ErrExist = errors.New("file already exists")
16
ErrNotExist = errors.New("file does not exist")
0 commit comments