Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

added NotSupported Exception

Damian Canabalac4688dabbd4
diff --git a/scrapy/trunk/scrapy/core/exceptions.py b/scrapy/trunk/scrapy/core/exceptions.py
index 416559226..bf4fd7fd5 100644
--- a/scrapy/trunk/scrapy/core/exceptions.py
+++ b/scrapy/trunk/scrapy/core/exceptions.py
@@ -21,7 +21,7 @@ class IgnoreRequest(Exception):
class DontCloseDomain(Exception):
"""Request the domain not to be closed yet"""
pass
-
+
class HttpException(Exception):
def __init__(self, status, message, response):
if not message:
@@ -42,3 +42,6 @@ class DropItem(Exception):
"""Drop item from the item pipeline"""
pass
+class NotSupported(Exception):
+ """Indicates a feature or method is not supported"""
+ pass
\ No newline at end of file