Full class with error