django-downloadview/django_downloadview/exceptions.py
2020-01-07 15:01:26 +01:00

10 lines
243 B
Python

"""Custom exceptions."""
class FileNotFound(IOError):
"""Requested file does not exist.
This exception is to be raised when operations (such as read) fail because
file does not exist (whatever the storage or location).
"""