returncodes

package
v0.0.0-...-dde4a86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code int

Code is the basic type for all returncodes

const (
	OK          Code = iota
	ENOENT           //No such file or directory.
	EACCES           //Can not access file
	EEXIST           //File already exists
	ENOTEMPTY        //Directory not empty
	EISDIR           //Is Directory
	EIO              //Input/Output error
	ENOTDIR          //Isn't Directory
	EBUSY            //System is busy
	EUNEXPECTED      //Unforseen error
)

Current libpfs supported return codes

func (Code) String

func (c Code) String() string

Strings returns a human readable representation of the codes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL