Error class added