def get_error_string(error_code):
 if (error_code in ERRORS):
  return ('%s (%s)' % (ERRORS[error_code]['description'], ERRORS[error_code]['name']))
 else:
  return str(error_code)

def get_error_string ( error_code ) : if ( error_code in ERRORS ) : return ( '%s (%s)' % ( ERRORS [ error_code ] [ 'description' ] , ERRORS [ error_code ] [ 'name' ] ) ) else : return str ( error_code )
error code lookup .