module documentation

Scrapy core exceptions These exceptions are documented in docs/topics/exceptions.rst. Please don't add new exceptions here without documenting them there.

Exception CloseSpider Raise this from callbacks to request the spider to be closed
Exception ContractFail Error raised in case of a failing contract
Exception DontCloseSpider Request the spider not to be closed yet
Exception DropItem Drop item from the item pipeline
Exception IgnoreRequest Indicates a decision was made not to process a request
Exception NotConfigured Indicates a missing configuration situation
Exception NotSupported Indicates a feature or method is not supported
Exception ScrapyDeprecationWarning Warning category for deprecated features, since the default DeprecationWarning is silenced on Python 2.7+
Exception StopDownload Stop the download of the body for a given response. The 'fail' boolean parameter indicates whether or not the resulting partial response should be handled by the request errback. Note that 'fail' is a keyword-only argument.
Exception UsageError To indicate a command-line usage error
Exception _InvalidOutput Indicates an invalid value has been returned by a middleware's processing method. Internal and undocumented, it should not be raised or caught by user code.