add new feature (custom error handler)