Errors have names and causes
A math character such as x^2 typed outside math mode used to arrive as a raw TeX log line. Now the error card names it, and "Why this happens" explains the cause.
ShippedRecorded
How this is tested
The clip was recorded on from the end-to-end scenario that checks this feature on every pull request, with the same steps and the same checks. It shows what that scenario verified on that date.
- Scenario
e2e/tests/scenarios/namedErrors.ts, caseSUPERSCRIPT_OUTSIDE_MATH- Gate
e2e/tests/named-errors-card.spec.ts(fast). Every PR (browser e2e lane), including the recorded case- Recorder
e2e/tests/demo-named-errors-video.spec.ts, on demand:just demo-video named-errors
Known gaps
- In the card's code preview, the highlight sits on the first word of the line, not on the x^2 that caused the error.