Open
Description
Specification
In MatrixAI/Polykey#828 I added some code to format the errors in a way that included the cause chain within the error. The intention of this was to get the full context of an error. Especially when it was wrapped in a generic PolykeyRemoteError
.
Additional context
Tasks
- Extract formatting changes from Adding better error messaging when stringifying errors in logging Polykey#828 into
js-errors
- Refine the formatting of the error