aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/exceptions.py
diff options
context:
space:
mode:
authorTom Christie2012-08-25 13:27:55 +0100
committerTom Christie2012-08-25 13:27:55 +0100
commit26831df88e80feb815aeb3a2b8a7c275a71732e4 (patch)
treee31be3fd2847aa59974fae51334860cde6393458 /djangorestframework/exceptions.py
parentaed26b218ea39110489e85abc6f412399a1774a1 (diff)
downloaddjango-rest-framework-26831df88e80feb815aeb3a2b8a7c275a71732e4.tar.bz2
Add ParseError (Removing ImmediateResponse)
Diffstat (limited to 'djangorestframework/exceptions.py')
-rw-r--r--djangorestframework/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/djangorestframework/exceptions.py b/djangorestframework/exceptions.py
new file mode 100644
index 00000000..e70f55df
--- /dev/null
+++ b/djangorestframework/exceptions.py
@@ -0,0 +1,3 @@
+class ParseError(Exception):
+ def __init__(self, detail):
+ self.detail = detail