Add hosterror exception