You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I added a toString override to the ErrorPolykey class as a way of extending it to include better details about the cause chain. After some discussion about it this needs to be removed infavor of an alternative method.
We need to create a utility what will structure errors as a more informative string to be used when we need to convert errors for use in logger messages. It needs to be aware of the type of error it receives and format it accordingly.
Specification
Recently I added a
toString
override to theErrorPolykey
class as a way of extending it to include better details about the cause chain. After some discussion about it this needs to be removed infavor of an alternative method.We need to create a utility what will structure errors as a more informative string to be used when we need to convert errors for use in logger messages. It needs to be aware of the type of error it receives and format it accordingly.
Additional context
Tasks
toString
method fromErrorPolykey
toString
or theString
constructor.The text was updated successfully, but these errors were encountered: