Provide additional meta for error message plain string
Closed this issue · 0 comments
pmstss commented
Now HumanizedError
contains plain string message
which is not enough for custom formatting (e. g. for highlighting/providing link to error origin).
Proposal is to extend HumanizedError
with messageParts: ErrorMessagePart[]
where
interface ErrorMessagePart {
text: string;
jsonPointer?: string;
}