Skip to content

fsErrorNameOf

fsErrorNameOf(code): "EBADF" | "EEXIST" | "EINVAL" | "EIO" | "EISDIR" | "ELOOP" | "ENOENT" | "ENOTDIR" | "ENOTEMPTY" | "EXDEV" | undefined

Defined in: packages/pgwasm/src/opfs/broker/protocol.ts:614

The core error name behind a wire errno, or undefined for a code the core never produces.

number

"EBADF" | "EEXIST" | "EINVAL" | "EIO" | "EISDIR" | "ELOOP" | "ENOENT" | "ENOTDIR" | "ENOTEMPTY" | "EXDEV" | undefined