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