def _lookup_error(number):
 return_values = {2: 'Invalid OU or specifying OU is not supported', 5: 'Access is denied', 53: 'The network path was not found', 87: 'The parameter is incorrect', 110: 'The system cannot open the specified object', 1323: 'Unable to update the password', 1326: 'Logon failure: unknown username or bad password', 1355: 'The specified domain either does not exist or could not be contacted', 2224: 'The account already exists', 2691: 'The machine is already joined to the domain', 2692: 'The machine is not currently joined to a domain'}
 return return_values[number]

def _lookup_error ( number ) : return_values = { 2 : 'Invalid OU or specifying OU is not supported' , 5 : 'Access is denied' , 53 : 'The network path was not found' , 87 : 'The parameter is incorrect' , 110 : 'The system cannot open the specified object' , 1323 : 'Unable to update the password' , 1326 : 'Logon failure: unknown username or bad password' , 1355 : 'The specified domain either does not exist or could not be contacted' , 2224 : 'The account already exists' , 2691 : 'The machine is already joined to the domain' , 2692 : 'The machine is not currently joined to a domain' } return return_values [ number ]
lookup the error based on the passed number .