introduce error class that contains the current message