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

custom error response #41

Open
boogsbunny opened this issue May 23, 2024 · 2 comments
Open

custom error response #41

boogsbunny opened this issue May 23, 2024 · 2 comments

Comments

@boogsbunny
Copy link

Hi,
How do you return a custom 500 response? My idea is that depending on the route I want to use a clack middleware to return a 500 status code with my own HTML page in addition.

@mdbergmann
Copy link

AFAIR you can use SNOOZE:HTTP-CONDITION. It takes a status code and a message.

@boogsbunny
Copy link
Author

That I understand but I'm wondering about unexpected 500s in particular?

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