Skip to content

Structured formatting of errors when converted to string #21

@tegefaulkes

Description

@tegefaulkes

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

  1. Extract formatting changes from Adding better error messaging when stringifying errors in logging Polykey#828 into js-errors
  2. Refine the formatting of the error

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions