Scrapy core exceptions
These exceptions are documented in docs/topics/exceptions.rst. Please don't add new exceptions here without documenting them there.
Class | CloseSpider |
Raise this from callbacks to request the spider to be closed |
Class | ContractFail |
Error raised in case of a failing contract |
Class | DontCloseSpider |
Request the spider not to be closed yet |
Class | DropItem |
Drop item from the item pipeline |
Class | IgnoreRequest |
Indicates a decision was made not to process a request |
Class | NotConfigured |
Indicates a missing configuration situation |
Class | NotSupported |
Indicates a feature or method is not supported |
Class | 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. |
Class | _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. |
Class | ScrapyDeprecationWarning |
Warning category for deprecated features, since the default DeprecationWarning is silenced on Python 2.7+ |
Class | UsageError |
To indicate a command-line usage error |