def _load_connection_error(hostname, error):
 ret = {'code': None, 'content': 'Error: Unable to connect to the bigip device: {host}\n{error}'.format(host=hostname, error=error)}
 return ret

def _load_connection_error ( hostname , error ) : ret = { 'code' : None , 'content' : 'Error: Unable to connect to the bigip device: {host}\n{error}' . format ( host = hostname , error = error ) } return ret
format and return a connection error .