ParsedInput

Result of parseAny: a single message or a batch, normalized to a list. For a batch, errors carries any malformed members (empty otherwise) so the dispatcher can emit a distinct id:null error per malformed member.

@safe
struct ParsedInput {
bool isBatch;
Message[] messages;
BatchMemberError[] errors;
}