azavea / azavea/python-omgeo

Define and use a base Exception class for the package

Open
#49 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
37
Forks
14
PR merge metrics
No merged PRs in 30d

Description

There are several places where this raises a custom exception with `raise Exception(...)`, e.g. https://github.com/azavea/python-omgeo/blob/8308301edf3921b97dd977f8b54b3201a29b3868/omgeo/services/esri.py#L91.

Making users of the package catch `Exception` is not very nice. Even if we don't need subtypes, we should define a base Exception class for the package so that people can make their exception handling more specific.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.