Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(responders): raise a specialized subclass of HTTPNotFound (#1647)
* feat(responders): Raise a specialized subclass of HTTPNotFound When no route matches a request, raise a subclass of HTTPNotFound so that a custom error handler can distinguish that specific case if desired. * doc(faq): Remove extra spaces
- Loading branch information
Showing
8 changed files
with
213 additions
and
38 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
docs/_newsfragments/default-404-responder-specialized-error.feature.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
When no route matches a request, the framework will now raise a | ||
specialized subclass of :class:`~.falcon.HTTPNotFound` | ||
(:class:`~.falcon.HTTPRouteNotFound`) so that | ||
a custom error handler can distinguish that specific case if desired. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters