Return error in no such table case.