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 930b494 commit d1e77e8Copy full SHA for d1e77e8
docs/usage.md
@@ -237,6 +237,13 @@ class MyViewset(ModelViewSet):
237
238
```
239
240
+### Exception handling
241
+
242
+For the `exception_handler` class, if the optional `JSON_API_UNIFORM_EXCEPTIONS` is set to True,
243
+all exceptions will respond with the JSON API [error format](http://jsonapi.org/format/#error-objects).
244
245
+When `JSON_API_UNIFORM_EXCEPTIONS` is False (the default), non-JSON API views will respond
246
+with the normal DRF error format.
247
248
### Performance Testing
249
0 commit comments