We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9a726 commit c9e7072Copy full SHA for c9e7072
README.rst
@@ -79,8 +79,6 @@ Now every call to :code:`watch_movie` will require that validator :code:`can_wat
79
80
>>> watch_movie(bob, horror) # doctest: +IGNORE_EXCEPTION_DETAIL
81
Traceback (most recent call last):
82
- File "business_logic/core.py", line 48, in wrapper
83
- raise ServiceException("Validation failed!")
84
business_logic.exceptions.LogicException: Validation failed!
85
86
@@ -124,8 +122,6 @@ Chaining validators is really easy and readable:
124
122
125
123
>>> can_watch_movie(bob, horror) # doctest: +IGNORE_EXCEPTION_DETAIL
126
127
128
- raise LogicException("Validation failed!")
129
130
131
0 commit comments