keep error handler DRY