Rob Pike 56069f0333 os: delete os.EINVAL and so on
The set of errors forwarded by the os package varied with system and
was therefore non-portable.
Three helpers added for portable error checking: IsExist, IsNotExist, and IsPermission.
One or two more may need to come, but let's keep the set very small to discourage
thinking about errors that way.

R=mikioh.mikioh, gustavo, r, rsc
CC=golang-dev
https://golang.org/cl/5672047
2012-02-17 10:04:29 +11:00
..
2012-01-12 07:55:23 -08:00
2012-01-12 07:55:23 -08:00
2012-02-17 10:04:29 +11:00
2012-02-17 10:04:29 +11:00
2012-02-17 10:04:29 +11:00
2011-07-09 20:16:45 +10:00
2009-12-16 10:29:53 +11:00
2011-07-09 20:16:45 +10:00
run
2012-01-12 14:45:32 -08:00
2011-07-09 20:16:45 +10:00
2011-07-09 20:16:45 +10:00
2011-07-09 20:16:45 +10:00
2011-07-09 20:16:45 +10:00
2011-12-02 12:30:37 -05:00