mirror of
https://github.com/golang/go
synced 2024-11-22 02:24:41 -07:00
os: add a few missing plan9 errors
these were needed by packages in crypto/ and by io/ioutil R=golang-dev, r CC=golang-dev https://golang.org/cl/4350047
This commit is contained in:
parent
60cfb63bd4
commit
69819c2ea3
@ -35,10 +35,14 @@ var (
|
||||
Ebadarg = NewError("bad arg in system call")
|
||||
Enotdir = NewError("not a directory")
|
||||
Enonexist = NewError("file does not exist")
|
||||
Eexist = NewError("file already exists")
|
||||
Eio = NewError("i/o error")
|
||||
|
||||
EINVAL = Ebadarg
|
||||
ENOTDIR = Enotdir
|
||||
ENOENT = Enonexist
|
||||
EEXIST = Eexist
|
||||
EIO = Eio
|
||||
|
||||
ENAMETOOLONG = NewError("file name too long")
|
||||
ERANGE = NewError("math result not representable")
|
||||
|
Loading…
Reference in New Issue
Block a user