Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Confusion between validation_exceptions and validation_errors. #63

Merged
merged 1 commit into from

2 participants

@florentx

well, doc and code are not aligned on this parameter

@jfinkels jfinkels merged commit d9c5f9b into jfinkels:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/customizing.rst
View
4 docs/customizing.rst
@@ -119,10 +119,10 @@ error response.
For example, if your validation framework includes an exception called
``ValidationError``, then call the :meth:`APIManager.create_api` method with
-the ``validation_errors`` keyword argument::
+the ``validation_exceptions`` keyword argument::
from cool_validation_framework import ValidationError
- apimanager.create_api(Person, validation_errors=[ValidationError])
+ apimanager.create_api(Person, validation_exceptions=[ValidationError])
.. note::
Something went wrong with that request. Please try again.