diff options
| author | Shenghou Ma <minux@golang.org> | 2015-11-12 15:27:51 -0500 |
|---|---|---|
| committer | Minux Ma <minux@golang.org> | 2015-11-13 01:09:10 +0000 |
| commit | 85ca578d4a71ef8d56bc828a38f42482ff264028 (patch) | |
| tree | 32f1d82ec8c4d54d2838892eb892c4883df67748 /src | |
| parent | 37ac54dc2b01cd020f72b664f07c85ed1a91bd78 (diff) | |
| download | go-85ca578d4a71ef8d56bc828a38f42482ff264028.tar.xz | |
os: add document for ErrInvalid
Fixes #12391.
Change-Id: I31211cd711c035151785c3083571594d15c7d93e
Reviewed-on: https://go-review.googlesource.com/16873
Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/os/error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/error.go b/src/os/error.go index 8810e69306..e26ce27970 100644 --- a/src/os/error.go +++ b/src/os/error.go @@ -10,7 +10,7 @@ import ( // Portable analogs of some common system call errors. var ( - ErrInvalid = errors.New("invalid argument") + ErrInvalid = errors.New("invalid argument") // methods on File will return this error when the receiver is nil ErrPermission = errors.New("permission denied") ErrExist = errors.New("file already exists") ErrNotExist = errors.New("file does not exist") |
