Skip to content

InvalidCallerMessagesError

A caller supplied a message array the runtime refuses. Carries a name tag rather than relying on instanceof, which breaks when a consumer resolves two copies of core — the same reason FlowDriftError is tagged. Transports map this to 400, not 500.

  • Error
new InvalidCallerMessagesError(field, index): InvalidCallerMessagesError;
Parameter Type

field

"seedMessages" | "historyDelta"

index

number

InvalidCallerMessagesError

Error.constructor
readonly field: "seedMessages" | "historyDelta";

readonly index: number;

readonly name: "InvalidCallerMessagesError" = 'InvalidCallerMessagesError';
Error.name