add stub Error type