Refactor user visible exceptions to UI package