This PR contains the Join implementation from #106 and adds
some adjustments to fit the rest of the library's style.
We move the newly added Join implementation that mirrors
the go 1.20 stdlib function into a separate package like the rest of
our custom error types.
Some simple unit tests are added and Join wrappers are also
integrated into the datadriven formatting test. Our existing format
code for multi-cause errors is compatible with this new type which
allows us to remove the custom formatter from the implementation.
This PR contains the
Join
implementation from #106 and adds some adjustments to fit the rest of the library's style.We move the newly added
Join
implementation that mirrors the go 1.20 stdlib function into a separate package like the rest of our custom error types.Some simple unit tests are added and
Join
wrappers are also integrated into the datadriven formatting test. Our existing format code for multi-cause errors is compatible with this new type which allows us to remove the custom formatter from the implementation.Please review last 2 commits. First one is #115.
This change is![Reviewable](https://reviewable.io/review_button.svg)