buildErrorStream
function buildErrorStream( error, schema?, serverId?, requestId?): Uint8Array;Defined in: src/wire/public.ts:88
Build a complete IPC stream carrying a single error batch.
This is the wire shape an intermediary returns to deny or abort a call
in-band — the client decodes it back into a thrown error. schema defaults
to an empty schema, matching Python’s build_error_stream.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
error |
Error |
undefined |
schema? |
VgiSchema |
undefined |
serverId? |
string |
"" |
requestId? |
string | null |
null |
Returns
Section titled “Returns”Uint8Array
