Opened 2 years ago
Last modified 2 years ago
#34676 closed Cleanup/optimization
Add DistanceUnitDoesNotExist exception to contrib.gis.measure — at Version 1
| Reported by: | Andrew Northall | Owned by: | Andrew Northall |
|---|---|---|---|
| Component: | GIS | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Andrew Northall | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
I am making use of the Distance class in contrib.gis.measure in my project and it is annoying to have to constantly catch Exception when checking if a particular unit exists. It would be better to have a specific exception for this case.
Change History (1)
comment:1 by , 2 years ago
| Cc: | added |
|---|---|
| Description: | modified (diff) |
| Owner: | changed from to |
Note:
See TracTickets
for help on using tickets.