summaryrefslogtreecommitdiff
path: root/src/pkg/os/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/error.go')
-rw-r--r--src/pkg/os/error.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/os/error.go b/src/pkg/os/error.go
index 4738d1a42..635a3fe50 100644
--- a/src/pkg/os/error.go
+++ b/src/pkg/os/error.go
@@ -80,6 +80,7 @@ var (
ENAMETOOLONG Error = Errno(syscall.ENAMETOOLONG)
EAFNOSUPPORT Error = Errno(syscall.EAFNOSUPPORT)
ETIMEDOUT Error = Errno(syscall.ETIMEDOUT)
+ ENOTCONN Error = Errno(syscall.ENOTCONN)
)
// PathError records an error and the operation and file path that caused it.