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

Add provision of setting and getting Error #29

Closed
bnkamalesh opened this issue Jun 30, 2021 · 0 comments · Fixed by #30
Closed

Add provision of setting and getting Error #29

bnkamalesh opened this issue Jun 30, 2021 · 0 comments · Fixed by #30
Assignees

Comments

@bnkamalesh
Copy link
Owner

Since all the handlers are std lib compliant, it's difficult to do a centralized/easy of error logging. Hence, implementing Webgotcontext.SetErrror(err error) & Webgocontext.Error() error would be useful. And we could write a normal middleware which fetches the the error from webgocontext and handle appropriately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant