getError in LOTScript to check why loading has failed.