Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Exit(code int) type Errno func (e Errno) Error() string func (e Errno) Temporary() bool func (e Errno) Timeout() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Exit ¶ added in v0.7.0 func Exit(code int) Types ¶ type Errno ¶ type Errno uintptr An Errno is an unsigned number describing an error condition. It implements the error interface. The zero Errno is by convention a non-error, so code to convert from Errno to error should use: err = nil if errno != 0 { err = errno } func (Errno) Error ¶ func (e Errno) Error() string func (Errno) Temporary ¶ func (e Errno) Temporary() bool func (Errno) Timeout ¶ func (e Errno) Timeout() bool Source Files ¶ View all Source files errno.go str.go syscall.go Click to show internal directories. Click to hide internal directories.