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

Pass request to error handlers #133

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Pass request to error handlers #133

merged 1 commit into from
Jul 4, 2024

Conversation

jodersky
Copy link
Member

@jodersky jodersky commented Jul 3, 2024

This allows customizing error responses based on data available in requests.

One scenario would be to display a 404, but with additional context information, e.g. the path or login status of the user taken from cookies.

This allows customizing error responses based on data available in requests.
@lihaoyi lihaoyi merged commit 7017cba into master Jul 4, 2024
4 checks 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