From: Shenghou Ma Date: Thu, 12 Nov 2015 20:27:51 +0000 (-0500) Subject: os: add document for ErrInvalid X-Git-Tag: go1.6beta1~480 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=85ca578d4a71ef8d56bc828a38f42482ff264028;p=gostls13.git os: add document for ErrInvalid Fixes #12391. Change-Id: I31211cd711c035151785c3083571594d15c7d93e Reviewed-on: https://go-review.googlesource.com/16873 Reviewed-by: Andrew Gerrand --- 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")