Skip to content

Consider more specific exceptions than osmapi.OsmApi.ApiError #115

@matkoniecz

Description

@matkoniecz

osmapi.OsmApi.ApiError: Request failed: 409 - Conflict - b'The changeset 111530865 was closed at 2021-09-22 09:42:47 UTC'

I would like to catch just "adding to closed changeset" errors and it seems that it will require error prone parsing of strings. Is there a better way to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions