Rxova
Skip to content

InvalidPayload

Why a payload was refused, for OnInvalid.

readonly direction: "in" | "out";

'in' — a peer sent it; 'out' — this client tried to send it.


readonly issues: readonly string[];

One line per issue the schema reported, or a single line explaining a schema that could not be used.


readonly key: string;

Message type for a channel, key for a store.


readonly name: string;

The bus this happened on.


readonly payload: unknown;

The value as it arrived. Not validated, so genuinely unknown.