def ftperrors():
 global _ftperrors
 if (_ftperrors is None):
  import ftplib
  _ftperrors = ftplib.all_errors
 return _ftperrors

def ftperrors ( ) : global _ftperrors if ( _ftperrors is None ) : import ftplib _ftperrors = ftplib . all_errors return _ftperrors
return the set of errors raised by the ftp class .