Skip to content

API reference / @chanx-js/client / core / ChanxErrorFrame

Interface: ChanxErrorFrame ​

Defined in: packages/protocol/src/envelope.ts:82

An error frame from the server, which chanx sends instead of the expected reply.

Properties ​

action ​

ts
action: "error";

Defined in: packages/protocol/src/envelope.ts:83


payload ​

ts
payload: unknown;

Defined in: packages/protocol/src/envelope.ts:84


ref? ​

ts
optional ref?: string;

Defined in: packages/protocol/src/envelope.ts:86


topic? ​

ts
optional topic?: string;

Defined in: packages/protocol/src/envelope.ts:85

MIT licensed