diff options
Diffstat (limited to 'djangorestframework/exceptions.py')
| -rw-r--r-- | djangorestframework/exceptions.py | 3 |
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 |
