Skip to content

v4 - incompatible ErrorHandler context type #3424

@barjin

Description

@barjin

The following snippet compiles without errors in v3, but throws errors (see below) with v4. What's the expected argument type for ErrorHandler in v4? Do we explicitly export this type / interface?

Image Image

This pattern (creating crawler options as explicitly typed functions) is used e.g. in https://github.com/apify/actor-scraper

First observed here.

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions