delete error class