Error class added. Need more features.