[#2222] backward compatibility with old irods_error