throwIfOutParamError static method

void throwIfOutParamError(
  1. WebNitroErrorSlot slot
)

Checks an S8-style out-parameter error slot after a sync bridge call — the web counterpart of the native throwIfOutParamError(Pointer<...>). Reads the slot from module memory; if an error is present, frees the strdup'd fields with the module's nitro_free, resets the slot, and throws a HybridException.

Implementation

static void throwIfOutParamError(WebNitroErrorSlot slot) => slot.throwIfError();