Skip to content

Commit

Permalink
sort errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Dec 25, 2023
1 parent a6457cc commit 2dd6331
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions osmnx/_errors.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
"""Define custom errors and exceptions."""


class ResponseStatusCodeError(ValueError):
"""Exception for an unhandled server response status code."""


class CacheOnlyInterruptError(InterruptedError):
"""Exception for settings.cache_only_mode=True interruption."""


class GraphSimplificationError(ValueError):
"""Exception for a problem with graph simplification."""


class InsufficientResponseError(ValueError):
"""Exception for empty or too few results in server response."""


class GraphSimplificationError(ValueError):
"""Exception for a problem with graph simplification."""
class ResponseStatusCodeError(ValueError):
"""Exception for an unhandled server response status code."""

0 comments on commit 2dd6331

Please sign in to comment.