WASI_ERRNO
constWASI_ERRNO:object
Defined in: packages/pgwasm/src/opfs/wasi/preview1.ts:99
WASI preview1 errno numbers. A superset of the store’s own FS_ERRNO (whose values already ARE
these numbers); the extra codes are ones a filesystem ADAPTER has to answer and the store core
never produces, so they live here rather than widening the core’s error vocabulary.
Type Declaration
Section titled “Type Declaration”
readonlyACCES:2=2
readonlyBADF:8=8
readonlyEXIST:20=20
readonlyINVAL:28=28
readonlyIO:29=29
readonlyISDIR:31=31
readonlyLOOP:32=32
readonlyNOENT:44=44
readonlyNOSYS:52=52
NOTCAPABLE
Section titled “NOTCAPABLE”
readonlyNOTCAPABLE:76=76
NOTDIR
Section titled “NOTDIR”
readonlyNOTDIR:54=54
NOTEMPTY
Section titled “NOTEMPTY”
readonlyNOTEMPTY:55=55
NOTSUP
Section titled “NOTSUP”
readonlyNOTSUP:58=58
OVERFLOW
Section titled “OVERFLOW”
readonlyOVERFLOW:61=61
readonlyPERM:63=63
readonlySPIPE:70=70
SUCCESS
Section titled “SUCCESS”
readonlySUCCESS:0=0