procxy / Response
Interface: Response
Defined in: src/shared/protocol.ts:136
Method invocation response sent from child to parent. Either contains return value (RESULT) or error information (ERROR).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
error? | ErrorInfo | Serialized error details; present only when type === 'ERROR' | src/shared/protocol.ts:144 |
id | string | UUID that matches the originating Request.id | src/shared/protocol.ts:138 |
type | "RESULT" | "ERROR" | 'RESULT' on success, 'ERROR' on thrown exception | src/shared/protocol.ts:140 |
value? | Jsonifiable | Serialized return value; present only when type === 'RESULT' | src/shared/protocol.ts:142 |