Current section
Files
Jump to
Current section
Files
src/gleam/posix_errors.gleam
/// http://erlang.org/doc/man/file.html#type-posix
pub type PosixError {
Eacces
Eagain
Ebadf
Ebadmsg
Ebusy
Edeadlk
Edeadlock
Edquot
Eexist
Efault
Efbig
Eftype
Eintr
Einval
Eio
Eisdir
Eloop
Emfile
Emlink
Emultihop
Enametoolong
Enfile
Enobufs
Enodev
Enolck
Enolink
Enoent
Enomem
Enospc
Enosr
Enostr
Enosys
Enotblk
Enotdir
Enotsup
Enxio
Eopnotsupp
Eoverflow
Eperm
Epipe
Erange
Erofs
Espipe
Esrch
Estale
Etxtbsy
Exdev
// TODO: not part of posix, but can be returned by:
// read_file | write_file | copy
Badarg
// read_file | write_file | copy
Terminated
// read_file | write_file
SystemLimit
// file:list_dir
// https://erlang.org/doc/man/file.html#list_dir-1
NoTranslation(String)
}