Skip to content

Commit

Permalink
Remove litestar.middleware.exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Apr 27, 2024
1 parent f84cd3f commit a8f6eec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 80 deletions.
8 changes: 8 additions & 0 deletions docs/release-notes/whats-new-3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,11 @@ If you were relying on this utility, you can define it yourself as follows:
def is_sync_or_async_generator(obj: Any) -> bool:
return isgeneratorfunction(obj) or isasyncgenfunction(obj)
Removal of deprecated ``litestar.middleware.exceptions`` module and ``ExceptionHandlerMiddleware``
--------------------------------------------------------------------------------------------------

The deprecated ``litestar.middleware.exceptions`` module and the
``ExceptionHandlerMiddleware`` have been removed. Since ``ExceptionHandlerMiddleware``
has been applied automatically behind the scenes if necessary, no action is required.
19 changes: 0 additions & 19 deletions litestar/middleware/exceptions/__init__.py

This file was deleted.

20 changes: 0 additions & 20 deletions litestar/middleware/exceptions/_debug_response.py

This file was deleted.

41 changes: 0 additions & 41 deletions litestar/middleware/exceptions/middleware.py

This file was deleted.

0 comments on commit a8f6eec

Please sign in to comment.