create error handler in combats/matching