Handling Errors In Components