errno

Members

(static) E2BIG :number

Source:
Default Value:
  • 7

Argument list too long

Type:
  • number

(static) EACCES :number

Source:
Default Value:
  • 13

Permission denied

Type:
  • number

(static) EAGAIN :number

Source:
Default Value:
  • 11

Try again

Type:
  • number

(static) EBADF :number

Source:
Default Value:
  • 9

Bad file number

Type:
  • number

(static) EBUSY :number

Source:
Default Value:
  • 16

Device or resource busy

Type:
  • number

(static) ECHILD :number

Source:
Default Value:
  • 10

No child processes

Type:
  • number

(static) EDOM :number

Source:
Default Value:
  • 33

Math argument out of domain of func

Type:
  • number

(static) EEXIST :number

Source:
Default Value:
  • 17

File exists

Type:
  • number

(static) EFAULT :number

Source:
Default Value:
  • 14

Bad address

Type:
  • number

(static) EFBIG :number

Source:
Default Value:
  • 27

File too large

Type:
  • number

(static) EINTR :number

Source:
Default Value:
  • 4

Interrupted system call

Type:
  • number

(static) EINVAL :number

Source:
Default Value:
  • 22

Invalid argument

Type:
  • number

(static) EIO :number

Source:
Default Value:
  • 5

I/O error

Type:
  • number

(static) EISDIR :number

Source:
Default Value:
  • 21

Is a directory

Type:
  • number

(static) EMFILE :number

Source:
Default Value:
  • 24

Too many open files

Type:
  • number
Source:
Default Value:
  • 31

Too many links

Type:
  • number

(static) ENFILE :number

Source:
Default Value:
  • 23

File table overflow

Type:
  • number

(static) ENODEV :number

Source:
Default Value:
  • 19

No such device

Type:
  • number

(static) ENOENT :number

Source:
Default Value:
  • 2

No such file or directory

Type:
  • number

(static) ENOEXEC :number

Source:
Default Value:
  • 8

Exec format error

Type:
  • number

(static) ENOMEM :number

Source:
Default Value:
  • 12

Out of memory

Type:
  • number

(static) ENOSPC :number

Source:
Default Value:
  • 28

No space left on device

Type:
  • number

(static) ENOTBLK :number

Source:
Default Value:
  • 15

Block device required

Type:
  • number

(static) ENOTDIR :number

Source:
Default Value:
  • 20

Not a directory

Type:
  • number

(static) ENOTTY :number

Source:
Default Value:
  • 25

Not a typewriter

Type:
  • number

(static) ENXIO :number

Source:
Default Value:
  • 6

No such device or address

Type:
  • number

(static) EPERM :number

Source:
Default Value:
  • 1

Operation not permitted

Type:
  • number

(static) EPIPE :number

Source:
Default Value:
  • 32

Broken pipe

Type:
  • number

(static) ERANGE :number

Source:
Default Value:
  • 34

Math result not representable

Type:
  • number

(static) EROFS :number

Source:
Default Value:
  • 30

Read-only file system

Type:
  • number

(static) ESPIPE :number

Source:
Default Value:
  • 29

Illegal seek

Type:
  • number

(static) ESRCH :number

Source:
Default Value:
  • 3

No such process

Type:
  • number

(static) ETXTBSY :number

Source:
Default Value:
  • 26

Text file busy

Type:
  • number

(static) EXDEV :number

Source:
Default Value:
  • 18

Cross-device link

Type:
  • number

Methods

(static) fail(code)

Source:

Throw a module:errno.SysError error with a given errno value.

Parameters:
Name Type Description
code number

A valid errno value

Throws:
Returns:

This function never returns, always throws.