This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Custom exceptions
1616-----------------
1717
1818.. warning :: For any of these errors to work, you need to register the error handlers in your Flask app.
19- To do this, you can call :meth: `flask_utils.errors. register_error_handlers ` with your Flask app as an argument.
19+ To do this, you can call :meth: `register_error_handlers ` with your Flask app as an argument.
2020
2121 .. code-block :: python
2222
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ def validate_params(
186186 and the values are the expected types.
187187 :param allow_empty: Allow empty values for parameters. Defaults to False.
188188
189- :raises flask_utils.errors.badrequest. BadRequestError: If the JSON body is malformed,
189+ :raises BadRequestError: If the JSON body is malformed,
190190 the Content-Type header is missing or incorrect, required parameters are missing,
191191 or parameters are of the wrong type.
192192
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ def _register_error_handlers(application: Flask) -> None:
2424
2525 .. versionchanged:: 0.5.0
2626 Made the function private. If you want to register the custom error handlers, you need to
27- pass `register_error_handlers=True` to the :class:`flask_utils.extension. FlaskUtils` class
28- or to :meth:`flask_utils.extension. FlaskUtils.init_app`
27+ pass `register_error_handlers=True` to the :class:`FlaskUtils` class
28+ or to :meth:`FlaskUtils.init_app`
2929
3030 .. code-block:: python
3131
You can’t perform that action at this time.
0 commit comments