-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1100 from gboeing/fix
refactor utils_geo module
- Loading branch information
Showing
6 changed files
with
86 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.