You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The provider-specific exception classes such as GoogleGeocodingException and BingGeocodingException should inherit from a common GeocodingException class. Otherwise you must either know which implementation of IGeocoder you're currently using (which isn't a good idea when using dependency injection) or you have to catch Exception (which might catch too much).
The text was updated successfully, but these errors were encountered:
The provider-specific exception classes such as
GoogleGeocodingException
andBingGeocodingException
should inherit from a commonGeocodingException
class. Otherwise you must either know which implementation ofIGeocoder
you're currently using (which isn't a good idea when using dependency injection) or you have to catchException
(which might catch too much).The text was updated successfully, but these errors were encountered: