Added LabelError class to encapsulate invalid label params