Exceptions

Built-in Exceptions reference

Here’s a list of all exceptions included in Scrapy and their usage.

DropItem

exception scrapy.core.exceptions.DropItem

The exception that must be raised by item pipeline stages to stop processing an Item. For more information see Item Pipeline.

HttpException

exception scrapy.core.exceptions.HttpException

This exception is raised by the downloader when a non-200 response has been downloaded.

IgnoreRequest

exception scrapy.core.exceptions.IgnoreRequest

This exception can be raised by the Scheduler or any downlaoder middleware to indicate that the request should be ignored.

NotConfigured

exception scrapy.core.exceptions.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.

NotSupported

exception scrapy.core.exceptions.NotSupported

This exception is raised to indicate an unsupported feature.

Table Of Contents

Previous topic

Signals

Next topic

Item Exporters

This Page