flagplus: remove function to set error handling