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

runtime: replace StreamError with status.Status #1262

Merged
merged 1 commit into from
May 2, 2020

Conversation

johanbrandhorst
Copy link
Collaborator

@johanbrandhorst johanbrandhorst commented Apr 30, 2020

Following on from #1242, this replaces the StreamError
with a status.Status type. Also, remove the ability to configure
the stream error handler. The existing handler was specific to the
old type, and we can add something better back in later
if necessary.

Fixes #1098

Following on from #1242, this replace the StreamError
with a status.Status type. Also, remove the ability to configure
the stream error handler. The existing handler was specific to the
old type, and we can add something better back in later
if necessary.

Fixes #1098
@johanbrandhorst
Copy link
Collaborator Author

I would like some feedback on whether we think this is going to impact users, since we now don't included the translated HTTP status code anymore. Personally, I think it makes sense to align with status.Status here.

@johanbrandhorst johanbrandhorst merged commit 53da419 into v2 May 2, 2020
@johanbrandhorst johanbrandhorst deleted the remove-streamerror branch May 2, 2020 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants