Validate and normalize a capabilities string.
wr
rw
InvalidInput
Normalized string (same shape as input).
{ name: "InvalidInput" } with a helpful message. The error's data field is { invalidEntries: string[] } containing the malformed token.
{ name: "InvalidInput" }
data
{ invalidEntries: string[] }
Validate and normalize a capabilities string.
wr->rw)InvalidInputidentifying the first malformed entry.