def _rods_strerror(errno):
 if (not hasattr(irods, '__rods_strerror_map')):
  irods.__rods_strerror_map = {}
  for name in dir(irods):
   v = getattr(irods, name)
   if ((type(v) == int) and (v < 0)):
    irods.__rods_strerror_map[v] = name
 return irods.__rods_strerror_map.get(errno, 'GALAXY_NO_ERRNO_MAPPING_FOUND')

def _rods_strerror ( errno ) : if ( not hasattr ( irods , '__rods_strerror_map' ) ) : irods . __rods_strerror_map = { } for name in dir ( irods ) : v = getattr ( irods , name ) if ( ( type ( v ) == int ) and ( v < 0 ) ) : irods . __rods_strerror_map [ v ] = name return irods . __rods_strerror_map . get ( errno , 'GALAXY_NO_ERRNO_MAPPING_FOUND' )
the missing strerror for irods error codes .