Skip to content

ERRNO_CODES

const ERRNO_CODES: object

Defined in: packages/pgwasm/src/fs/base-filesystem.ts:26

Errno values, in the numbering Postgres builds use (Emscripten’s). A filesystem reports a failed operation by throwing an error whose code is one of these; an error without a code is reported to Postgres as EIO.

readonly EBADF: 8 = 8

readonly EBADFD: 127 = 127

readonly EEXIST: 20 = 20

readonly EINVAL: 28 = 28

readonly EIO: 29 = 29

readonly EISDIR: 31 = 31

readonly ENODEV: 43 = 43

readonly ENOENT: 44 = 44

readonly ENOTDIR: 54 = 54

readonly ENOTEMPTY: 55 = 55