comment fixed
This commit is contained in:
parent
d961e9d1a2
commit
7c3faea0dd
|
@ -47,9 +47,8 @@ class Sanic:
|
||||||
# Decorator
|
# Decorator
|
||||||
def exception(self, *exceptions):
|
def exception(self, *exceptions):
|
||||||
"""
|
"""
|
||||||
Decorates a function to be registered as a route
|
Decorates a function to be registered as a handler for exceptions
|
||||||
:param uri: path of the URL
|
:param *exceptions: exceptions
|
||||||
:param methods: list or tuple of methods allowed
|
|
||||||
:return: decorated function
|
:return: decorated function
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user