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

tide::Error type should have header setting constructor or builder #613

Closed
vertexclique opened this issue Jun 24, 2020 · 2 comments
Closed

Comments

@vertexclique
Copy link

Currently, Error has from_str and new. These are not enough for serializing json and more because content-type implicitly set.

@Fishrock123
Copy link
Member

Fishrock123 commented Jun 24, 2020

Please see #570

@Fishrock123
Copy link
Member

#570 was merged, which changes how errors work in middleware, and should have solved this.

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

No branches or pull requests

2 participants