mirror of
https://github.com/golang/go
synced 2024-11-12 07:00:21 -07:00
os: remove old note about NewSyscallError being special
R=golang-dev, r CC=golang-dev https://golang.org/cl/5556044
This commit is contained in:
parent
6a5db20d14
commit
436b37d885
@ -17,10 +17,6 @@ type SyscallError struct {
|
||||
|
||||
func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Err }
|
||||
|
||||
// Note: If the name of the function NewSyscallError changes,
|
||||
// pkg/go/doc/doc.go should be adjusted since it hardwires
|
||||
// this name in a heuristic.
|
||||
|
||||
// NewSyscallError returns, as an error, a new SyscallError
|
||||
// with the given system call name and error details.
|
||||
// As a convenience, if err is nil, NewSyscallError returns nil.
|
||||
|
@ -59,10 +59,6 @@ type SyscallError struct {
|
||||
|
||||
func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Errno.Error() }
|
||||
|
||||
// Note: If the name of the function NewSyscallError changes,
|
||||
// pkg/go/doc/doc.go should be adjusted since it hardwires
|
||||
// this name in a heuristic.
|
||||
|
||||
// NewSyscallError returns, as an error, a new SyscallError
|
||||
// with the given system call name and error details.
|
||||
// As a convenience, if err is nil, NewSyscallError returns nil.
|
||||
|
Loading…
Reference in New Issue
Block a user