renamed error class