#111598Throw only Error objects in TypeScript sources
Description
Part of #111591.
Throwing a value that is not an Error loses the stack trace and breaks handlers that expect one. Resolve the findings of typescript-eslint/only-throw-error@, then remove its "off" entry from Build/eslint.config.mjs.
Findings with typescript-eslint 8.58.1: 32, most of them in EXT:backend and EXT:form.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[TASK] Throw only Error objects in TypeScript sources Resolves: #111598 Releases: main