Skip to content

Conversation

metaodi
Copy link
Owner

@metaodi metaodi commented Nov 21, 2021

resolves #115

Adds new errors as subclasses of OsmApiError:

  • ChangesetClosedApiError
  • NoteClosedApiError
  • VersionMismatchApiError
  • PreconditionFailedApiError

@metaodi metaodi merged commit 196e86c into develop Nov 22, 2021
@metaodi metaodi deleted the add-api-exceptions branch November 22, 2021 15:15
@matkoniecz
Copy link
Contributor

Thanks so much! This will allow me to replace extremely ugly and error prone string parsing of error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider more specific exceptions than osmapi.OsmApi.ApiError
2 participants