class_docstr: Template object for geocoders.
class_docstr_tok: ["Template","object","for","geocoders","."]
code: def _adapter_error_handler(self, error):
      if isinstance(error, AdapterHTTPError):
          if error.text:
              logger.info(
                  "Received an HTTP error (%s): %s",
                  error.status_code,
                  error.text,
                  exc_info=False,
              )
          res = self._geocoder_exception_handler(error)
          if res is NONE_RESULT:
              return NONE_RESULT
          exc_cls = ERROR_CODE_MAP.get(
              error.status_code, GeocoderServiceError
          )
          if issubclass(exc_cls, GeocoderRateLimited):
              raise exc_cls(
                  str(error), retry_after=get_retry_after(error.headers)
              ) from error
          else:
              raise exc_cls(str(error)) from error
      else:
          res = self._geocoder_exception_handler(error)
          if res is NONE_RESULT:
              return NONE_RESULT
  
imports: import asyncio
  import functools
  import inspect
  import threading
  from geopy import compat
  from geopy.adapters import AdapterHTTPError, BaseAsyncAdapter, BaseSyncAdapter, RequestsAdapter, URLLibAdapter, get_retry_after
  from geopy.exc import ConfigurationError, GeocoderAuthenticationFailure, GeocoderInsufficientPrivileges, GeocoderQueryError, GeocoderQuotaExceeded, GeocoderRateLimited, GeocoderServiceError, GeocoderTimedOut
  from geopy.point import Point
  from geopy.util import __version__, logger
label_desc: Use image node_id 8 for calling the Geocoder obj's underlying member method code with example usage: obj._adapter_error_handler(error) and returns: NONE_RESULT, NONE_RESULT