ERRNO_CODES
constERRNO_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.
Type Declaration
Section titled “Type Declaration”
readonlyEBADF:8=8
EBADFD
Section titled “EBADFD”
readonlyEBADFD:127=127
EEXIST
Section titled “EEXIST”
readonlyEEXIST:20=20
EINVAL
Section titled “EINVAL”
readonlyEINVAL:28=28
readonlyEIO:29=29
EISDIR
Section titled “EISDIR”
readonlyEISDIR:31=31
ENODEV
Section titled “ENODEV”
readonlyENODEV:43=43
ENOENT
Section titled “ENOENT”
readonlyENOENT:44=44
ENOTDIR
Section titled “ENOTDIR”
readonlyENOTDIR:54=54
ENOTEMPTY
Section titled “ENOTEMPTY”
readonlyENOTEMPTY:55=55