Fix Sanic.handle_exception Method's Type Doc (#2333)
* Fix type doc * Remove explicit type defines in docstring
This commit is contained in:
@@ -724,9 +724,7 @@ class Sanic(BaseSanic, metaclass=TouchUpMeta):
|
||||
A handler that catches specific exceptions and outputs a response.
|
||||
|
||||
:param request: The current request object
|
||||
:type request: :class:`SanicASGITestClient`
|
||||
:param exception: The exception that was raised
|
||||
:type exception: BaseException
|
||||
:raises ServerError: response 500
|
||||
"""
|
||||
await self.dispatch(
|
||||
|
||||
Reference in New Issue
Block a user