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.
Parameters
Section titled “Parameters”result
Section titled “result”operation
Section titled “operation”string
string
Returns
Section titled “Returns”void