better error class