Skip to content

Move apify_client._errors to apify_client.errors #158

@fnesveda

Description

@fnesveda

We have some error subclasses like ApifyApiError defined in https://github.com/apify/apify-client-python/blob/master/src/apify_client/_errors.py, with the underscore suggesting it's a private submodule.

We have them documented in the docs, though, suggesting people should use them in their isinstance checks etc, which they should be able to, since the thrown errors should be a part of the public API of a module.

We should move them out of the private _errors submodule to a public errors submodule, to make it clear that these are OK to use by end users.

Metadata

Metadata

Assignees

Labels

debtCode quality improvement or decrease of technical debt.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions