Added HP Error Handling.