Opened 17 months ago

Last modified 17 months ago

#34676 closed Cleanup/optimization

Add DistanceUnitDoesNotExist exception to contrib.gis.measure — at Initial Version

Reported by: Andrew Northall Owned by: nobody
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

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 (0)

Note: See TracTickets for help on using tickets.
Back to Top