BatchMemberError

A malformed batch member: its position in the array, the raw member item, and the validation error. The raw item is retained so a dispatcher can recover the member's id (which may still be present even when the envelope is invalid) and resolve a pending request rather than letting it time out.

@safe
struct BatchMemberError {
size_t index;
Json item;
McpException error;
}