1.4 KiB
Available Exceptions
System Message: ERROR/3 (<stdin>, line 3)
Unknown directive type "module".
.. module:: scrapy.core.exceptions :synopsis: Exceptions definitions
Here's a list of all exceptions included in Scrapy and their usage.
System Message: ERROR/3 (<stdin>, line 11)
Unknown directive type "exception".
.. exception:: DontCloseDomain
DontCloseDomain
This exception can be raised by any handler of the :signal:`domain_idle` signal to avoid the domain from being closed at this time, and wait for the next idle state.
System Message: ERROR/3 (<stdin>, line 16); backlink
Unknown interpreted text role "signal".System Message: ERROR/3 (<stdin>, line 20)
Unknown directive type "exception".
.. exception:: DropItem
DropItem
The exception that must be raised by item pipeline stages to stop processing an Item. For more information see :ref:`topics-item-pipeline`.
System Message: ERROR/3 (<stdin>, line 25); backlink
Unknown interpreted text role "ref".System Message: ERROR/3 (<stdin>, line 28)
Unknown directive type "exception".
.. exception:: NotConfigured
NotConfigured
This exception can be raised by some components to indicate that they will remain disabled. Those component include:
- Extensions
- Item pipelines
- Downloader middlwares
- Spider middlewares
The exception must be raised in the component constructor.
System Message: ERROR/3 (<stdin>, line 43)
Unknown directive type "exception".
.. exception:: HttpException
HttpException
This exception is raised by the downloader when a non-200 response has been downloaded.
System Message: ERROR/3 (<stdin>, line 51)
Unknown directive type "exception".
.. exception:: IgnoreRequest
IgnoreRequest
This exception can be raised by the Scheduler or any downlaoder middleware to indicate that the request should be ignored.
System Message: ERROR/3 (<stdin>, line 59)
Unknown directive type "exception".
.. exception:: NotSupported
NotSupported
This exception is raised to indicate an unsupported feature.