def convert_unreachable_exception(e, error_format=u'Facebook is unreachable %s'):
 exception_class = map_unreachable_exception(e)
 error_message = (error_format % str(e))
 exception = exception_class(error_message)
 return exception

def convert_unreachable_exception ( e , error_format = u'Facebook is unreachable %s' ) : exception_class = map_unreachable_exception ( e ) error_message = ( error_format % str ( e ) ) exception = exception_class ( error_message ) return exception
converts an sslerror .