InvalidPayload
Why a payload was refused, for OnInvalid.
Properties
Section titled “Properties”direction
Section titled “direction”readonly direction: "in" | "out";'in' — a peer sent it; 'out' — this client tried to send it.
issues
Section titled “issues”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.
payload
Section titled “payload”readonly payload: unknown;The value as it arrived. Not validated, so genuinely unknown.