1
0
mirror of https://github.com/golang/go synced 2024-11-21 19:24:45 -07:00
go/doc
Russ Cox a0bcaf4c00 Change os.Error convention:
echo back context of call in error if likely to be useful.

For example, if os.Open("/etc/passwd", os.O_RDONLY)
fails with syscall.EPERM, it returns as the os.Error

	&PathError{
		Op: "open",
		Path: "/etc/passwd"
		Error: os.EPERM
	}

which formats as

	open /etc/passwd: permission denied

Not converted:

	datafmt
	go/...
	google/...
	regexp
	tabwriter
	template

R=r
DELTA=1153  (561 added, 156 deleted, 436 changed)
OCL=30738
CL=30781
2009-06-25 20:24:55 -07:00
..
progs Change os.Error convention: 2009-06-25 20:24:55 -07:00
candl.txt Add description of how compiling and linking handle dependencies. 2008-04-15 16:43:06 -07:00
effective_go.html Effective Go; draft 2009-06-25 09:38:35 -07:00
go_mem.html change file name so it can be copied without name change to a more public place. 2009-03-22 21:53:40 -07:00
go_spec.html Allow indexing of slice types, but not pointer to slice type. 2009-06-25 14:43:55 -07:00
go_tutorial.txt update tutorial text to refer to io.Reader etc. 2009-05-08 11:21:25 -07:00
logo_blue.png add logo to documentation directory. 2009-02-22 15:39:50 -08:00
prog.sh update tutorial to new language. 2009-01-09 15:16:31 -08:00