support for caught errors