Skip to content

Commit ddbd3cb

Browse files
committed
Merge pull request encode#1882 from mattjmorrison/patch-2
Clarify "raised inside REST framework"
2 parents 8c8d355 + 764366b commit ddbd3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/exceptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Note that the exception handler will only be called for responses generated by r
8484

8585
**Signature:** `APIException()`
8686

87-
The **base class** for all exceptions raised inside REST framework.
87+
The **base class** for all exceptions raised inside an `APIView` class or `@api_view`.
8888

8989
To provide a custom exception, subclass `APIException` and set the `.status_code` and `.default_detail` properties on the class.
9090

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy