Re #4: Refactor out defaultError