NeuraLegion/har-sdk

Provide additional meta for error message plain string

Closed this issue · 0 comments

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;
}