code: def handle_url_build_error(self, error: Exception, endpoint: str, values: dict) -> str:
          
          for handler in self.url_build_error_handlers:
              result = handler(error, endpoint, values)
              if result is not None:
                  return result
          raise error
docs: Handle a build error.
  
          Ideally this will return a valid url given the error endpoint
          and values.