Skip to content

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

Interface: ChanxErrorFrame ​

Defined in: packages/client/src/core/protocol.ts:78

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

Properties ​

action ​

ts
action: "error";

Defined in: packages/client/src/core/protocol.ts:79


payload ​

ts
payload: unknown;

Defined in: packages/client/src/core/protocol.ts:80


ref? ​

ts
optional ref?: string;

Defined in: packages/client/src/core/protocol.ts:82


topic? ​

ts
optional topic?: string;

Defined in: packages/client/src/core/protocol.ts:81

MIT licensed