Skip to content

throwOnErrno

throwOnErrno(result, operation, path?): void

Defined in: packages/pgwasm/src/opfs/broker/client.ts:476

Turn a broker result into the throw the core store would have produced, for a caller that prefers exceptions to errnos. The rebuilt FsError carries the same numeric code the broker reported.

BrokerResult

string

string

void