aboutsummaryrefslogtreecommitdiffstats
path: root/python/atoma/exceptions.py
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2019-02-16 23:41:52 -0800
committerJames Taylor <user234683@users.noreply.github.com>2019-02-16 23:41:52 -0800
commit3905e7e64059b45479894ba1fdfb0ef9cef64475 (patch)
tree4c5dbbfd204d0351cac8412cc87a65fea49c1a52 /python/atoma/exceptions.py
parent24642455d0dc5841ddec99f456598c4f763c1e8a (diff)
downloadyt-local-3905e7e64059b45479894ba1fdfb0ef9cef64475.tar.lz
yt-local-3905e7e64059b45479894ba1fdfb0ef9cef64475.tar.xz
yt-local-3905e7e64059b45479894ba1fdfb0ef9cef64475.zip
basic subscriptions system
Diffstat (limited to 'python/atoma/exceptions.py')
-rw-r--r--python/atoma/exceptions.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/python/atoma/exceptions.py b/python/atoma/exceptions.py
new file mode 100644
index 0000000..88170c5
--- /dev/null
+++ b/python/atoma/exceptions.py
@@ -0,0 +1,14 @@
+class FeedParseError(Exception):
+ """Document is an invalid feed."""
+
+
+class FeedDocumentError(Exception):
+ """Document is not a supported file."""
+
+
+class FeedXMLError(FeedDocumentError):
+ """Document is not valid XML."""
+
+
+class FeedJSONError(FeedDocumentError):
+ """Document is not valid JSON."""