add errorResolver