Skip to content

Testing custom error handlers #6248

Answered by Kludex
gonzacastro asked this question in Questions
Discussion options

You must be logged in to vote

The best way to test custom exception handlers would be to test an endpoint that triggers that exception, and verify that the response matches what the custom exception handler is doing.

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

Kludex
Jun 10, 2023
Collaborator Sponsor

You must be logged in to vote
0 replies
Answer selected by Kludex
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
6 participants
Converted from issue

This discussion was converted from issue #5104 on February 27, 2023 21:47.