A&C
Apify & Crawlee
N
Apify & Crawlee
•
3y ago
NeoNomade
error handling
Can we somehow throw errors that are closing the page
?
and not retrying the request
?
Apify & Crawlee
Join
This is the official developer community of Apify and Crawlee.
13,249
Members
View on Discord
Was this page helpful?
Yes
No
M
MEE6
•
10/16/23, 7:04 PM
@NeoNomade just advanced to level 11
! Thanks for your contributions
!
B
brilliant-lime
•
10/21/23, 5:58 PM
You can throw a
https://crawlee.dev/api/core/class/NonRetryableError
N
NeoNomade
OP
•
10/21/23, 5:58 PM
Thanks
NonRetryableError
NonRetryableError
import { NonRetryableError } from 'crawlee';
throw NonRetryableError('Error');
import { NonRetryableError } from 'crawlee';
throw NonRetryableError('Error');