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
..
2009-06-25 20:13:56 -07:00
2009-06-25 20:13:56 -07:00
2009-01-15 17:54:07 -08:00
2009-06-25 20:24:55 -07:00
2009-01-20 14:40:40 -08:00
2009-04-15 20:27:45 -07:00