- improved response class for errors