Skip to content

Commit fc446d6

Browse files
committed
[docs] add docs for errback
1 parent 7ef1e06 commit fc446d6

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

docs/source/api.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,16 @@ callback
9696
- type: string
9797
- optional
9898

99-
Should exist as method of scheduled spider, does not need to contain self.
99+
Must exist as method of scheduled spider, does not need to contain string "self".
100100
If not passed or not found on spider default callback `parse`_ will be used.
101101

102+
errback
103+
- type: string
104+
- optional
105+
106+
Scrapy errback for request made from spider. It must exist as method of
107+
scheduled spider, otherwise exception will be raised. String does not need to contain 'self'.
108+
102109
max_requests
103110
- type: integer
104111
- optional

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
# built documents.
5656
#
5757
# The short X.Y version.
58-
version = '0.10'
58+
version = '0.12'
5959
# The full version, including alpha/beta/rc tags.
60-
release = '0.10'
60+
release = '0.12'
6161

6262
# The language for content autogenerated by Sphinx. Refer to documentation
6363
# for a list of supported languages.

0 commit comments

Comments
 (0)