Go: internal/oserror Index | Files

package oserror

import "internal/oserror"

Package oserror defines errors values used in the os package.

These types are defined here to permit the syscall package to reference them.


Package Files



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")

Package oserror imports 1 packages (graph) and is imported by 13 packages. Updated 2021-01-22. Refresh now. Tools for package owners.