Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move error resource to its own interface. #56

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

pchickey
Copy link

Two reasons for this design change:

  • it is confusing having one type named stream/stream-error and another named stream/error.
  • this error resource seems useful outside of just streams.

Therefore, we are moving it to a separate interface error in the same package. There are no functional changes to this type.

The doc comments are now more general.

Two reasons for this design change:

it is confusing having one type named stream/stream-error and another named stream/error.
this error resource seems useful outside of just streams.
Therefore, we are moving it to a separate interface error in the same package. There are no functional changes to this type.

The doc comments are now more general.
@pchickey pchickey force-pushed the pch/error_in_separate_interface branch from 4792310 to 6127a35 Compare November 10, 2023 01:27
Copy link
Member

@lukewagner lukewagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes sense to me.

@pchickey pchickey merged commit a39776e into main Nov 10, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants