Documentation
¶
Overview ¶
Package oserror defines errors values used in the os package.
These types are defined here to permit the syscall package to reference them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalid = errors.New("invalid argument") ErrPermission = errors.New("permission denied") ErrExist = errors.New("file already exists") ErrNotExist = errors.New("file does not exist") ErrClosed = errors.New("file already closed") ErrTemporary = temporaryError{} ErrTimeout = timeoutError{} )
Functions ¶
func IsTemporary ¶
IsTemporary reports whether err indicates a temporary condition.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.