diff options
| author | Tom Christie | 2014-09-19 14:05:50 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-09-19 14:05:50 +0100 |
| commit | 88008c0a687219e3104d548196915b1068536d74 (patch) | |
| tree | 31c21a93d3e11e8ba66e83c96f8947783e8d676e /docs/api-guide/exceptions.md | |
| parent | 6d73b5969a9d415a6d43175e77bc10ba76151e97 (diff) | |
| parent | 1e9ea377e3f0521ec5d9c21527cfad3c7626baaa (diff) | |
| download | django-rest-framework-88008c0a687219e3104d548196915b1068536d74.tar.bz2 | |
Merge branch 'master' into version-3.0
Diffstat (limited to 'docs/api-guide/exceptions.md')
| -rw-r--r-- | docs/api-guide/exceptions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/exceptions.md b/docs/api-guide/exceptions.md index 66e18173..e61dcfa9 100644 --- a/docs/api-guide/exceptions.md +++ b/docs/api-guide/exceptions.md @@ -84,7 +84,7 @@ Note that the exception handler will only be called for responses generated by r **Signature:** `APIException()` -The **base class** for all exceptions raised inside REST framework. +The **base class** for all exceptions raised inside an `APIView` class or `@api_view`. To provide a custom exception, subclass `APIException` and set the `.status_code` and `.default_detail` properties on the class. |
